[Bug c/29280] misleading warning for assignment used as truth construct

2023-09-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280 Andrew Pinski changed: What|Removed |Added CC||markgaleck at gmail dot com --- Comment

[Bug c/29280] misleading warning for assignment used as truth construct

2016-04-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280 --- Comment #6 from Manuel López-Ibáñez --- (In reply to Martin Sebor from comment #5) > It seems like it should be trivial to enhance the warning by adding a note > with the suggestion(s) mentioned in the request. Given all the cases mentioned

[Bug c/29280] misleading warning for assignment used as truth construct

2016-04-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280 Martin Sebor changed: What|Removed |Added Last reconfirmed|2010-02-21 00:38:52 |2016-4-15 CC|

[Bug c/29280] misleading warning for assignment used as truth construct

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280 Manuel López-Ibáñez changed: What|Removed |Added CC||xinliangli at gmail dot com --- Com

[Bug c/29280] misleading warning for assignment used as truth construct

2010-02-20 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-02-21 00:38 --- I agree with the reporter. The warning text suggests what it is actually not the most common solution and it fails miserably in some cases (see PR 25733). -- manu at gcc dot gnu dot org changed: What

[Bug c/29280] misleading warning for assignment used as truth construct

2006-09-30 Thread elanthis at awesomeplay dot com
--- Comment #2 from elanthis at awesomeplay dot com 2006-09-30 15:20 --- I only bring it up because I've repeatedly seen novice programmers get confused by the warning. It might be clear to someone who's an experienced C developer, but then, they probably don't really need the warning

[Bug c/29280] misleading warning for assignment used as truth construct

2006-09-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-29 04:15 --- Actually this warning is clear and I don't think it should be changed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --