https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68235
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-06 CC| |jsm28 at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. The solution for this specific case is to have distinct builtins for no-math-errno, like __builtin_sqrt_no_math_errno (). Note that slightly related is -frounding-math which causes math functions to become pure rather than const (and thus get a VUSE).