[Bug c++/12554] New: [tree-ssa] Infinite loop when compiling C++ with syntax errors
falk at debian dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 9 17:20:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12554
Summary: [tree-ssa] Infinite loop when compiling C++ with syntax
errors
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
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
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
falk@juist:~% cat loop.cc
class {
foo bar;
foo baz;
} qux &,
falk@juist:~% g++ -v
Reading specs from
/usr/local/stow/gcc-tree-ssa-2003.10.09/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/specs
Configured with: ../configure --disable-nls --enable-languages=c++
Thread model: posix
gcc version 3.5-tree-ssa 20031009 (merged 20031005)
falk@juist:~% g++ -c loop.cc
loop.cc:2: error: `foo' does not name a type
loop.cc:3: error: `foo' does not name a type
runs infinitely, without allocating more memory.
More information about the Gcc-bugs
mailing list