This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
New C++ parser crashing
- From: Craig Rodrigues <rodrigc at attbi dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 10 Jan 2003 22:36:21 -0500
- Subject: New C++ parser crashing
Hi,
Is the new C++ parser in a state where people are ready to
receive feedback, or is there still more work on merging
required? I just tried:
gcc version 3.4 20030110 (experimental
I tried compiling ACE with it on Red Hat Linux 7.2,
and cc1plus coredumped. I have a preprocessed file at:
http://home.attbi.com/~rodrigc/gcc/Reactor.ii.bz2
I can crash cc1plus quite easily with:
g++ -c Reactor.ii
The stack trace from cc1plus is:
#0 0x08394bbc in ggc_alloc (size=64) at ../../gcc/gcc/ggc-page.c:983
#1 0x08370eb5 in copy_node (node=0x40999440) at ../../gcc/gcc/tree.c:371
#2 0x083839da in copy_tree_r (tp=0x42a26dfc, walk_subtrees=0x40, data=0x0)
at ../../gcc/gcc/tree-inline.c:1747
#3 0x0838060a in copy_body_r (tp=0x42a26dfc, walk_subtrees=0xbf800128,
data=0xbffff2f0) at ../../gcc/gcc/tree-inline.c:544
#4 0x08382ca0 in walk_tree (tp=0x42a26dfc, func=0x8380590 <copy_body_r>,
data=0xbffff2f0, htab_=0x0) at ../../gcc/gcc/tree-inline.c:1507
#5 0x08382e3c in walk_tree (tp=0x42a272a0, func=0x8380590 <copy_body_r>,
data=0xbffff2f0, htab_=0x0) at ../../gcc/gcc/tree-inline.c:1646
#6 0x08382e3c in walk_tree (tp=0x42a27250, func=0x8380590 <copy_body_r>,
data=0xbffff2f0, htab_=0x0) at ../../gcc/gcc/tree-inline.c:1646
[previous line shows up about 2000 times in debugger]
--
Craig Rodrigues
http://home.attbi.com/~rodrigc
rodrigc@attbi.com