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 c++/12334] New: internal compiler error: tree check: expected decl_stmt, have goto_stmt in walk_tree, at tree-inline.c:1781


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: internal compiler error: tree check: expected decl_stmt,
                    have goto_stmt in walk_tree, at tree-inline.c:1781
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pherman at frenchfries dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-freebsd4.9
  GCC host triplet: i386-unknown-freebsd4.9
GCC target triplet: i386-unknown-freebsd4.9

Got an internal compiler error:

12:32:26{{ttyp4}pherman@mammoth}~//> /usr/tmp/gcct/bin/g++34 -O -c -o
serializerimpl.o serializerimpl.i 
In file included from
/usr/tmp/gcct/lib/gcc/i386-unknown-freebsd4.9/3.4/../../../../include/c++/3.4/bits/stl_function.h:197,
                 from serializerimpl.cpp:883:
/usr/tmp/gcct/lib/gcc/i386-unknown-freebsd4.9/3.4/../../../../include/c++/3.4/bits/stl_tree.h:
In instantiation of `static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue,
_Compare, _Alloc>::_S_key(const std::_Rb_tree_node_base*) [with _Key = uint32,
_Val = std::pair<const uint32, iTypedSerializable*(*)()>, _KeyOfValue =
std::_Select1st<std::pair<const uint32, iTypedSerializable*(*)()> >, _Compare =
std::less<uint32>, _Alloc = std::allocator<std::pair<const uint32,
iTypedSerializable*(*)()> >]':
/usr/tmp/gcct/lib/gcc/i386-unknown-freebsd4.9/3.4/../../../../include/c++/3.4/bits/stl_function.h:197:
  instantiated from `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&)
const [with _Tp = uint32]'
serializerimpl.cpp:883:   instantiated from here
/usr/tmp/gcct/lib/gcc/i386-unknown-freebsd4.9/3.4/../../../../include/c++/3.4/bits/stl_tree.h:449:
internal compiler error: tree check: expected decl_stmt, have goto_stmt in
walk_tree, at tree-inline.c:1781
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


This is what I'm running:

12:32:34{{ttyp4}pherman@mammoth}~//> /usr/tmp/gcct/bin/g++34 -v
Reading specs from /usr/tmp/gcct/lib/gcc/i386-unknown-freebsd4.9/3.4/specs
Configured with: '../configure' '--prefix=/usr/tmp/gcct '--with-gnu-as
'--with-gnu-ld '--program-suffix=34 '--disable-nls '--enable-languages=c++
Thread model: posix
gcc version 3.4 20030917 (experimental)

12:39:54{{ttyp4}pherman@mammoth}~//> uname -a
FreeBSD mammoth.eat.frenchfries.net 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0:
Fri Sep  5 21:51:15 PDT 2003    
pherman@mammoth.eat.frenchfries.net:/u02/obj/u01/src/sys/mammoth  i386


This is my first bug report, and I don't know how to attach the
(lengthy 800K) preprocessed source using bugzilla, so I can mail
it to someone, or here's a URL:

  http://www.frenchfries.net/paul/tripwire/serializerimpl.i.gz

Aside from the URL, I read the "What we want" and "What we don't
want" but if I've forgotten something, let me know.  Thanks!

-Paul.


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