[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2021-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-09-29 Ever confirmed|0

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 --- Comment #4 from Martin Sebor --- In my opinion (at least in the constant case) the warning would be more meaningful if it pointed out the likely mistake of using assignment as opposed to equality instead of (only) recommending how to

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Status|RESOLVED

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |WONTFIX --- Comment #2 from Andrew