https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64524
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2015-12-23 Summary|gcc can't detect same |gcc does not warn about |expression in both parts of |same expression in both |ternary operator |parts of ternary operator Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- confirmed.