This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10538: gcc 3.2.3 does not issue a warning for "int a = a + 1" statements
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, invi at your dot toilet dot ch, nobody at gcc dot gnu dot org
- Date: 29 Apr 2003 14:16:19 -0000
- Subject: Re: c++/10538: gcc 3.2.3 does not issue a warning for "int a = a + 1" statements
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, invi at your dot toilet dot ch, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: gcc 3.2.3 does not issue a warning for "int a = a + 1" statements
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Apr 29 14:16:19 2003
State-Changed-Why:
You actually use a documented gcc extension to _suppress_
the warning. I don't think I have an opinion about the
usefulness of this extension, so leave it to others to
decide what to do with the report.
In any case, I can confirm the behavior with present
mainline (3.4).
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10538