i386: ice in simplify_binary_operation

Philippe Elie phil.el@wanadoo.fr
Tue Jan 28 15:30:00 GMT 2003


mainline:

int do_it(double a, double b)
{
   return (b > a) ? ((a > b) ? 0 : 2) : 1;
}

$ gcc -Wall -W -O2 -ffast-math -march=pentiumpro mesh.i
$ mesh.i: In function `do_it':
mesh.i:4: internal compiler error: in simplify_binary_operation, at 
simplify-rtx.c:1374

fast-math, optimize > O0 and march=pentiumpro (or =athlon)
are needed to reach the problem.

Most recent change in this area is:

http://gcc.gnu.org/ml/gcc-patches/2003-01/msg02071.html

regards,
Philippe Elie



More information about the Gcc-patches mailing list