https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I disagree. In fact this warning has saved me many times. I had accidentally wrote: if (a = f()) and I was like why I was getting incorrect results.