https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96505
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Sam James from comment #1) > f1 is diagnosed since GCC 12... since r12-6606-g9d6a0f388eb048f8d87f47af78f07b5ce513bfe6, which changed gimple-ssa-warn-access to run a few more times...