https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85650
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-05-08 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- I actually view the warning in attachment 44067 as a feature (though one that just coincidentally happens to be enabled by the UBSan instrumentation) and its absence as a feature request. The warning in attachment 44068 is the opposite: the UBSan instrumentation gets in the way of the warning seeing the assignment as a suppression mechanism. The instrumentation in this case is pointless and can be removed with no loss of efficacy -- see bug 79265.