public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1760] fortran/dump-parse-tree.c: Use proper enum type
@ 2021-06-23 20:12 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2021-06-23 20:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:cac3527793b38164e2a83c7ccbfe0cfcf5ac95b8

commit r12-1760-gcac3527793b38164e2a83c7ccbfe0cfcf5ac95b8
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.

Diff:
---
 gcc/fortran/dump-parse-tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index 07e98b7e30d..26841eefb7d 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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-23 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 20:12 [gcc r12-1760] fortran/dump-parse-tree.c: Use proper enum type Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).