c/9903: [3.2 regression] ICE for legal code
bangerth@dealii.org
bangerth@dealii.org
Mon Mar 3 15:13:00 GMT 2003
Old Synopsis: ICE for legal code
New Synopsis: [3.2 regression] ICE for legal code
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Mar 3 15:13:28 2003
State-Changed-Why:
Confirmed with 3.2, but already fixed in 3.3 and mainline.
Here's a smaller example:
-----------------------------
typedef struct {
struct Y * dummy;
} X;
void f1(struct Y *A1);
void f2(double value);
struct Y y;
float foo(float A_r) {
f2(A_r);
f1(&y);
undeclared();
}
-------------------------
With 3.2.2 I get
/x> /home/bangerth/bin/gcc-3.2.2-pre/bin/gcc -c -O2 colors-preprocessed.c
colors-preprocessed.c: In function `foo':
colors-preprocessed.c:13: internal error: Segmentation fault
Please submit a full bug report,
It works with 3.0, so this is a regression. However, as
said, this is already fixed on newer branches.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9903
More information about the Gcc-bugs
mailing list