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).