On Fri, Aug 18, 2023 at 07:15:16PM +0200, Tobias Burnus wrote: > Comments, questions, concerns? > > If not, I intent to commit the attached patch to mainline on Monday > and after the usual grace time to GCC 13 and then to GCC 12. > > PR middle-end/111017 > gcc/ > * omp-expand.cc (expand_omp_for_init_vars): Pass after=true > to expand_omp_build_cond for 'factor != 0' condition, resulting > in pre-r12-5295-g47de0b56ee455e code for the gimple insert. > > libgomp/ > * testsuite/libgomp.c-c++-common/non-rect-loop-1.c: New test.
LGTM, thanks. Jakub