[Bug middle-end/93465] [10 Regression] ICE in oacc_verify_routine_clauses, at omp-general.c:1802 since r10-471-gb48f44bf77a39fef
tschwinge at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 4 15:01:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93465
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |openmp
Status|NEW |ASSIGNED
Last reconfirmed|2020-01-28 00:00:00 |2020-3-4
Component|c++ |middle-end
Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org
--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
ACK, thanks for the report and initial analysis.
Not sure if this is actually supposed to be valid or invalid code (but of
course we shouldn't ICE either way). That GCC 9 accepts this doesn't mean too
much, given that we don't know what it's supposed to mean. Until the
interactions between OpenACC and OpenMP 'target' get defined properly, I
suggest we make this a compile-time error. I'm testing a patch. (Not sure if
a variant of that will be worth backporting to release branches, too?)
More information about the Gcc-bugs
mailing list