https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104260
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
There is also
PUSH_INSERT_PASSES_WITHIN (pass_build_ssa_passes)
...
NEXT_PASS (pass_rebuild_cgraph_edges);
NEXT_PASS (pass_warn_access, /*early=*/true);
POP_INSERT_PASSES ()
where pass_rebuild_cgraph_edges should be last. Not sure whether you
put warn_access behind ubsan for a reason, otherwise I'd put it next
to the other warning passes.
