commit cac3527793b38164e2a83c7ccbfe0cfcf5ac95b8
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Wed Jun 23 22:10:43 2021 +0200
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.
@@ -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;