https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
--- Comment #9 from Peter Damianov ---
Unfortunately my patch causes ICEs in functions that optimize separate sin+cos
calls to sincos/cexpi, for reasons I'm not completely sure of.
Like the following:
typedef struct { float x,y; } Vector2;
//
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
--- Comment #8 from Peter Damianov ---
Patch sent:
https://inbox.sourceware.org/gcc-patches/20250218005001.2266781-1-peter0...@disroot.org/T/#u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
Vishnu Mohandas changed:
What|Removed |Added
CC||vishnu240404 at gmail dot com
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
Eric Gallager changed:
What|Removed |Added
CC||per at pz dot se
--- Comment #6 from Eri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
Eric Gallager changed:
What|Removed |Added
Keywords||easyhack
--- Comment #5 from Eric Gallag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
--- Comment #3 from Craig Topper ---
No -fmath-errno has no effect. It does have effect on other functions such as
cosh or acos.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
Eric Gallager changed:
What|Removed |Added
CC||egall at gwmail dot gwu.edu
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042
--- Comment #1 from Andrew Pinski ---
Most likely because gcc assumes sin ( Inf); is a full constant so it can remove
the load after it.