This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29280] misleading warning for assignment used as truth construct
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2010 00:38:52 -0000
- Subject: [Bug c/29280] misleading warning for assignment used as truth construct
- References: <bug-29280-13324@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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 |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2010-02-21 00:38:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280