https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106490
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libgomp |middle-end Keywords| |openmp Version|og11 (devel/omp/gcc-11) |12.1.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Does the OMP standard allow never ending loops? I think OMP computes the number of iterations but that doesn't fit an uint here. Using UINT_MAX-1 as upper bound works as expected.