https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122517
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
It seems as if in gimplify.cc's gimplify_omp_interop, the call to
gimplify_scan_omp_clauses (&OMP_INTEROP_CLAUSES (expr), pre_p, ORT_TASK,
OMP_INTEROP);
does not make sense. Additionally, I wonder whether
gimple_build_omp_interop / GIMPLE_OMP_INTEROP
shouldn't be removed for good and the code of omp-low.cc's lower_omp_interop
just be moved into gimplify_scan_omp_clauses.
After all, there is no associated code – but just a function call generated.