https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122866
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sandra Loosemore <[email protected]>: https://gcc.gnu.org/g:25ffcf2197f8216be121e742cef47353f14ad42d commit r16-8239-g25ffcf2197f8216be121e742cef47353f14ad42d Author: Tobias Burnus <[email protected]> Date: Thu Mar 19 22:55:56 2026 +0000 openmp: sorry instead of ICE for unimplemented mapper with iterator [PR122866] Support for iterators on mapper functions is an OpenMP 5.2 feature that is not implemented yet. Presently attempting to use this feature results in an ICE; let's make it a more user-friendly "sorry" until we get around to implementing this. gcc/ChangeLog PR c/122866 * gimplify.cc (omp_instantiate_mapper): Give a sorry if there are iterators. gcc/testsuite/ChangeLog PR c/122866 * c-c++-common/gomp/pr122866.c: New. Co-authored-by: Sandra Loosemore <[email protected]>
