[Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 9 12:16:28 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The point of the assert is/was that if the loop is simple, then we've kept it
in the iterator of OMP_FOR and the gimplifier can handle it, but if it is not
simple, the FE is replacing the OMP_FOR iterator with another one and is just
assigning the user variable at the start of the loop; I'm not sure if the
gimplifier handles that case too (there is some code for OMP_FOR_ORIG_DECLS,
perhaps it does, but it needs verification).
More information about the Gcc-bugs
mailing list