Bug in gcc-2.95.3 ICE -fno-ieee-math and -march=i686


There is a bug in gcc-2.95.3 that gives internal compiler error.

Symtom

You get Internal Compiler Error when trying to compile something.

Cause

There can be many reasons for an ICE.
Using -fno-ieee-math and -march=i686 together is one of them.

Workaround

Use -march=i586 -mcpu=i686 instead of -march=i686

Versions

Only 2.95.3 checked (by me)
Author Per-Olof Pettersson