http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Target| |i?86-*-* Status|WAITING |NEW Version|unknown |4.6.4 --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-16 10:53:12 UTC --- Confirmed. I think sqrt is special (compared to sin, cos, etc.) because it's one of the core IEEE arithmetic functions. I suppose correct rounding is only ensured for 80bit long double. It will of course be an unexpected performance drop for most people with no additional benefit as the libm implementation is wrong as well :/