https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102854
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> --- The testcase of comment 2 seems to be the same as the one of bug 106449 comment 4, which went in as r13-1887-g97d32048c04e97 openmp: Fix up handling of non-rectangular simd loops with pointer type iterators [PR106449] A slightly modified variant of that testcase went in follow-up commit r13-1893-g85fe7e7dd1f146 Add libgomp.c-c++-common/pr106449-2.c * * * >From the bug comments, it seems as if the following remains: "Non-rectangular loops with class random access iterators remain broken, that is something to be fixed incrementally." * * * However, given the commit for PR106449 (see above) and the earlier commit r12-4733-g2084b5f42a4432 openmp: Allow non-rectangular loops with pointer iterators (committed right after the commit of comment 3): I wonder whether the only thing that remains to be done is to add a real C++ testcase for random access iterator non-rect loops - assuming that the pointer patches cover all what's needed in terms of compiler support.