This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/49396] c-family/c-cppbuiltin.c: duplicate if expressions


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]