[parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade

Randolph Chung Randolph Chung <tausq@debian.org>
Sat, 19 Apr 2003 08:30:56 -0700


> Confirmed. Slightly reduced testcase:

Thanks. 

Running under gdb, I see:

(gdb) run bug.cxx
Starting program: /home/tausq/gcc/build-3.3/gcc/cc1plus bug.cxx

Program received signal SIGSEGV, Segmentation fault.
setup_class_bindings (name=0x401c9780, type_binding_p=1)
    at ../../gcc-3.3/gcc/cp/search.c:2560
2560          if (TREE_CODE (type_binding) == TREE_LIST
(gdb) bt
#0  setup_class_bindings (name=0x401c9780, type_binding_p=1)
    at ../../gcc-3.3/gcc/cp/search.c:2560
#1  0x00094410 in dfs_push_type_decls (binfo=0x401c9b40, data=0x401cf010)
    at ../../gcc-3.3/gcc/cp/search.c:2615
#2  0x00092f50 in dfs_walk_real (binfo=0x401c9b40, prefn=0,
    postfn=0x362c0e <__JCR_LIST__+486>, qfn=0x362bde <__JCR_LIST__+438>,
    data=0x0) at ../../gcc-3.3/gcc/cp/search.c:1911
[...]

type_binding is NULL after lookup_member()...

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/