c++/10438: [3.3 regression] [hppa] Segfault when building jade
Randolph Chung
tausq@debian.org
Sat Apr 19 15:36:00 GMT 2003
The following reply was made to PR c++/10438; it has been noted by GNATS.
From: Randolph Chung <tausq@debian.org>
To: Giovanni Bajo <giovannibajo@libero.it>
Cc: gcc-gnats@gcc.gnu.org, parisc-linux@lists.parisc-linux.org,
gcc-bugs@gcc.gnu.org, debian-gcc@lists.debian.org,
nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org,
Wolfgang Bangerth <bangerth@ices.utexas.edu>
Subject: Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
Date: 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/
More information about the Gcc-prs
mailing list