fortran/dump-parse-tree.c: Use proper enum type

gcc/fortran/ChangeLog:

	* dump-parse-tree.c (show_omp_clauses): Fix enum type used
	for dumping gfc_omp_defaultmap_category.
This commit is contained in:
Tobias Burnus 2021-06-23 22:10:43 +02:00
parent b7574ca6ed
commit cac3527793
1 changed files with 1 additions and 1 deletions

View File

@ -1781,7 +1781,7 @@ show_omp_clauses (gfc_omp_clauses *omp_clauses)
if (i != OMP_DEFAULTMAP_CAT_UNCATEGORIZED)
{
fputc (':', dumpfile);
switch ((enum gfc_omp_defaultmap) i)
switch ((enum gfc_omp_defaultmap_category) i)
{
case OMP_DEFAULTMAP_CAT_SCALAR: dfltmap = "SCALAR"; break;
case OMP_DEFAULTMAP_CAT_AGGREGATE: dfltmap = "AGGREGATE"; break;