[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread mpeddie at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 --- Comment #4 from Matt Peddie --- -fno-builtin-atanf does the trick. Thanks, Marc.

[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 --- Comment #3 from Marc Glisse --- (In reply to Matt Peddie from comment #2) > Is there a way to disable this behavior? -fno-builtin (or a more specific -fno-builtin-atanf) tells gcc to handle atanf as a regular function call, not as a standard

[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread mpeddie at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 --- Comment #2 from Matt Peddie --- Thank you for your quick response. The explanation makes sense, and I agree this is not a bug. I'd like to understand -- this seems to me to imply that GCC will use MPFR to evaluate calls to libm functions ev

[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---