This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

optimization/6845: ICE with -O -march=pentium3/pentium2/athlon

>Number:         6845
>Category:       optimization
>Synopsis:       ICE with -O -march=pentium3/pentium2/athlon
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue May 28 06:56:00 PDT 2002
>Originator:     Torbjörn Wassberg
>Release:        gcc version 3.2 20020527 (experimental)
Mandrake 8.2 x86
Configured with: ../gcc/configure --prefix=/usr/local/gcc/ --enable-languages=c
I found this when trying to compile lbreakout 2.2.2

It only triggers when using -O or higher together with -march=pentium3, -march=pentium2 or -march=athlon (and perhaps others)

a.c: In function `circle_intersect':
a.c:10: Internal compiler error in ix86_secondary_memory_needed, at config/i386/i386.c:13513
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

I'm not sure if
Vector delta = { pos.x - m.x, pos.y - m.y };
is legal, but it doesn't generate any warnings.

Vector delta = { pos.x - m.x, pos.y - m.y };
Vector delta;
delta.x = pos.x - m.x;
delta.y = pos.y - m.y;
Content-Type: application/octet-stream; name="a.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="a.i"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]