This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49396] c-family/c-cppbuiltin.c: duplicate if expressions
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 21:13:28 +0000
- Subject: [Bug c/49396] c-family/c-cppbuiltin.c: duplicate if expressions
- Auto-submitted: auto-generated
- References: <bug-49396-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49396
--- Comment #4 from dcb <dcb314 at hotmail dot com> 2011-06-14 21:13:11 UTC ---
(In reply to comment #2)
> Same error on all branches back to 4.4.
Interesting. Worth generalising so that source code pattern
if (X)
{
}
else if (X)
{
}
would cause a compiler warning ?