This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
- From: Randolph Chung <tausq at debian dot org>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 19 Apr 2003 15:36:01 -0000
- Subject: Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
- Reply-to: Randolph Chung <tausq at debian dot org>
The following reply was made to PR c++/10438; it has been noted by GNATS.
From: Randolph Chung <tausq at debian dot org>
To: Giovanni Bajo <giovannibajo at libero dot it>
Cc: gcc-gnats at gcc dot gnu dot org, parisc-linux at lists dot parisc-linux dot org,
gcc-bugs at gcc dot gnu dot org, debian-gcc at lists dot debian dot org,
nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,
Wolfgang Bangerth <bangerth at ices dot utexas dot 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/