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

Giovanni Bajo giovannibajo@libero.it
Sat, 19 Apr 2003 17:05:11 +0200


Confirmed. Slightly reduced testcase:

struct Foo
    struct Nested1
        enum E
        } 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

Giovanni Bajo