This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11995] New: Error recovery problem after invalid labelled declaration in c99 mode
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Aug 2003 19:29:02 -0000
- Subject: [Bug c/11995] New: Error recovery problem after invalid labelled declaration in c99 mode
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11995
Summary: Error recovery problem after invalid labelled
declaration in c99 mode
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: error-recovery
Severity: minor
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
falk@juist:/tmp% cat test.c
void f ()
{
l: int;
}
falk@juist:/tmp% gcc -v -std=c99 -c test.c
Reading specs from
/usr/local/stow/gcc-2003.08.19/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.4/specs
Configured with: ../configure --disable-nls --enable-languages=c++
Thread model: posix
gcc version 3.4 20030819 (experimental)
/usr/local/stow/gcc-2003.08.19/bin/../libexec/gcc/alphaev68-unknown-linux-gnu/3.4/cc1 -quiet -v -iprefix /usr/local/stow/gcc-2003.08.19/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.4/ test.c -quiet -dumpbase test.c -mcpu=ev67 -auxbase test -std=c99 -version -o /tmp/ccfMHVFe.s
ignoring nonexistent directory
"/usr/local/stow/gcc-2003.08.19/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.4/../../../../alphaev68-unknown-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring duplicate directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/3.4/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/3.4/../../../../alphaev68-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/stow/gcc-2003.08.19/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.4/include
/usr/local/include
/usr/include
End of search list.
GNU C version 3.4 20030819 (experimental) (alphaev68-unknown-linux-gnu)
compiled by GNU C version 3.4 20030819 (experimental).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64064
test.c: In function `f':
test.c:3: error: syntax error before "int"
test.c:4: internal compiler error: tree check: expected block, have error_mark
in finish_function, at c-decl.c:6089
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.