https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98009
Bug ID: 98009 Summary: [OpenACC] 'gcc/fortran/match.c:gfc_match_type_spec' should consider 'flag_openacc' in addition to 'flag_openmp'? Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openacc Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: burnus at gcc dot gnu.org, jakub at gcc dot gnu.org Target Milestone: --- 'gcc/fortran/match.c:gfc_match_type_spec': /* Found leading colon in REAL::, a trailing ')' in for example TYPE IS (REAL), or REAL, for an OpenMP list-item. */ if (c == ':' || c == ')' || (flag_openmp && c == ',')) return MATCH_YES; If that indeed doesn't apply to OpenACC, too, then let's please add some "dummy handling" to make this explicit, to show that we did consider this.