https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102801
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |12.2.1, 13.0 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- The testcase no longer warns after GCC 12.2 or on GCC 13 trunk for me. I can re-confirm diagnostics with GCC 10 and GCC 11. I'm going to add the testcase and close this bug.