https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122866
sandra at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sandra at gcc dot gnu.org
--- Comment #1 from sandra at gcc dot gnu.org ---
In both gimplify_omp_workshare and gimplify_omp_target_update, we have
remove_unused_omp_iterator_vars and build_omp_iterators_loops being called
before gimplify_adjust_omp_clauses; the latter is where “declare mapper” is
applied. Not sure how to fix this.