https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118865
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|12.5 |15.0 --- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The testcase in comment #0 warns now correctly. While the testcase in comment #2 now does NOT warn (which is correct). The testcase in comment #7 is recorded as PR 118867. So closing as fixed for GCC 15.