[Bug rtl-optimization/15135] program hangs in call to sqrt when compiled with -O

douze at enseeiht dot fr gcc-bugzilla@gcc.gnu.org
Mon May 29 10:37:00 GMT 2006



------- Comment #4 from douze at enseeiht dot fr  2006-05-29 10:37 -------
What builtin_sqrt does is:

try fsqrt
if result is ok (fucom on it sets flags for =), return it
else call library sqrt

This was coded badly in gcc 3.4.1, causing an infinite loop (btw, I can't find
where the asm code is)

The bug seems corrected in gcc 3.4.3


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15135



More information about the Gcc-bugs mailing list