[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 11 22:25:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|RESOLVED |UNCONFIRMED
Resolution|WONTFIX |---
Severity|trivial |enhancement
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Wait I read you suggestion incorrectly. You want to suggest that maybe you
wanted to use == instead here? I think that is wrong too because someone could
have done what they wanted but still needed the () around it. Say for an
example debugging if :).
More information about the Gcc-bugs
mailing list