* [parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
@ 2003-04-20 17:49 nathan
0 siblings, 0 replies; 6+ messages in thread
From: nathan @ 2003-04-20 17:49 UTC (permalink / raw)
To: debian-gcc, gcc-bugs, gcc-prs, nathan, nobody, parisc-linux,
tausq
Synopsis: [3.3 regression] [hppa] Segfault when building jade
Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Sun Apr 20 17:49:23 2003
Responsible-Changed-Why:
fixed
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sun Apr 20 17:49:23 2003
State-Changed-Why:
dup of 10405
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10438
^ permalink raw reply [flat|nested] 6+ messages in thread* [parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
@ 2003-04-20 17:49 nathan
0 siblings, 0 replies; 6+ messages in thread
From: nathan @ 2003-04-20 17:49 UTC (permalink / raw)
To: debian-gcc, gcc-bugs, gcc-prs, nathan, nobody, parisc-linux,
tausq
Synopsis: [3.3 regression] [hppa] Segfault when building jade
Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Sun Apr 20 17:49:23 2003
Responsible-Changed-Why:
fixed
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sun Apr 20 17:49:23 2003
State-Changed-Why:
dup of 10405
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10438
^ permalink raw reply [flat|nested] 6+ messages in thread* [parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
@ 2003-04-19 15:05 Giovanni Bajo
2003-04-19 15:30 ` Randolph Chung
2003-04-19 15:30 ` Randolph Chung
0 siblings, 2 replies; 6+ messages in thread
From: Giovanni Bajo @ 2003-04-19 15:05 UTC (permalink / raw)
To: gcc-gnats, parisc-linux, tausq, gcc-bugs, debian-gcc, nobody,
gcc-prs
Cc: Wolfgang Bangerth
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=10438
Confirmed. Slightly reduced testcase:
--------------------------------
struct Foo
{
struct Nested1
{
enum E
{
v1,v2,v3,v4,v5,v6
} E;
};
struct Nested2 : public Nested1
{};
};
--------------------------------
pr10438.cpp:12: internal compiler error: Segmentation fault
Please submit a full bug report,
It looks like a memory corruption bug, while playing with it I had the ICE
on and off simply by changing variable names. You can also see that the ICE
disappears if you remove some elements from within the enum. It seems that
the culript is the variable defined with the same name of the enum type.
It's a regression on 3.3 and 3.4 with respect to 3.2, where it compiles
fine.
Giovanni Bajo
^ permalink raw reply [flat|nested] 6+ messages in thread* [parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
2003-04-19 15:05 Giovanni Bajo
@ 2003-04-19 15:30 ` Randolph Chung
2003-04-19 15:30 ` Randolph Chung
1 sibling, 0 replies; 6+ messages in thread
From: Randolph Chung @ 2003-04-19 15:30 UTC (permalink / raw)
To: Giovanni Bajo
Cc: gcc-gnats, parisc-linux, gcc-bugs, debian-gcc, nobody, gcc-prs,
Wolfgang Bangerth
> 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/
^ permalink raw reply [flat|nested] 6+ messages in thread* [parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
2003-04-19 15:05 Giovanni Bajo
2003-04-19 15:30 ` Randolph Chung
@ 2003-04-19 15:30 ` Randolph Chung
1 sibling, 0 replies; 6+ messages in thread
From: Randolph Chung @ 2003-04-19 15:30 UTC (permalink / raw)
To: Giovanni Bajo
Cc: gcc-gnats, parisc-linux, gcc-bugs, debian-gcc, nobody, gcc-prs,
Wolfgang Bangerth
> 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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* [parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade
@ 2003-04-19 15:05 Giovanni Bajo
0 siblings, 0 replies; 6+ messages in thread
From: Giovanni Bajo @ 2003-04-19 15:05 UTC (permalink / raw)
To: gcc-gnats, parisc-linux, tausq, gcc-bugs, debian-gcc, nobody,
gcc-prs
Cc: Wolfgang Bangerth
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=10438
Confirmed. Slightly reduced testcase:
--------------------------------
struct Foo
{
struct Nested1
{
enum E
{
v1,v2,v3,v4,v5,v6
} E;
};
struct Nested2 : public Nested1
{};
};
--------------------------------
pr10438.cpp:12: internal compiler error: Segmentation fault
Please submit a full bug report,
It looks like a memory corruption bug, while playing with it I had the ICE
on and off simply by changing variable names. You can also see that the ICE
disappears if you remove some elements from within the enum. It seems that
the culript is the variable defined with the same name of the enum type.
It's a regression on 3.3 and 3.4 with respect to 3.2, where it compiles
fine.
Giovanni Bajo
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-04-20 17:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-20 17:49 [parisc-linux] Re: c++/10438: [3.3 regression] [hppa] Segfault when building jade nathan
-- strict thread matches above, loose matches on Subject: below --
2003-04-20 17:49 nathan
2003-04-19 15:05 Giovanni Bajo
2003-04-19 15:30 ` Randolph Chung
2003-04-19 15:30 ` Randolph Chung
2003-04-19 15:05 Giovanni Bajo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox