]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/27428 (ICE with goto in erroneous code)
authorRoger Sayle <roger@eyesopen.com>
Thu, 29 Jun 2006 21:57:23 +0000 (21:57 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 29 Jun 2006 21:57:23 +0000 (21:57 +0000)
commit8646f3df36e16529fb4400584b79dbcd94a03768
tree3230a4cd9e54440adfdcd4b66a146f05d4a1aa38
parentf8c2645c2d21a86b81a2480e3ab18b8cea2bceee
re PR middle-end/27428 (ICE with goto in erroneous code)

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.

From-SVN: r115080
gcc/ChangeLog
gcc/c-lex.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr27428-1.c [new file with mode: 0644]