https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105628
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So it turns out the change for ?: to warn for -Waddress was done on purpose. See PR 102967 . PR 102967 is about the wrong location for the warning and such but it was originally about the same type of expression. *** This bug has been marked as a duplicate of bug 102967 ***