aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.c
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-06-23 22:10:43 +0200
committerTobias Burnus <tobias@codesourcery.com>2021-06-23 22:10:43 +0200
commitcac3527793b38164e2a83c7ccbfe0cfcf5ac95b8 (patch)
treefa1d8b75ae48a04ccb18c6800d463d51f080b2ef /gcc/fortran/dump-parse-tree.c
parentb7574ca6edb5ac7fab741f46d4f50ac4294c8180 (diff)
downloadgcc-cac3527793b38164e2a83c7ccbfe0cfcf5ac95b8.zip
gcc-cac3527793b38164e2a83c7ccbfe0cfcf5ac95b8.tar.gz
gcc-cac3527793b38164e2a83c7ccbfe0cfcf5ac95b8.tar.bz2
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.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r--gcc/fortran/dump-parse-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index 07e98b7..26841ee 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -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;