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 middle-end/27428] [4.0/4.1 regression] ICE with goto in erroneous code



------- Comment #8 from sayle at gcc dot gnu dot org  2006-07-02 16:05 -------
Subject: Bug 27428

Author: sayle
Date: Sun Jul  2 16:05:28 2006
New Revision: 115133

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115133
Log:

        PR middle-end/27428
        * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
        to indicate the cpplib has issued an error message for us.

        * gcc.dg/pr27428-1.c: New test case.


Added:
    branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pr27428-1.c
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/c-lex.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27428


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