[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2025-03-09 Thread peter0x44 at disroot dot org via Gcc-bugs
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; //

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2025-02-17 Thread peter0x44 at disroot dot org via Gcc-bugs
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

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2025-02-16 Thread vishnu240404 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042 Vishnu Mohandas changed: What|Removed |Added CC||vishnu240404 at gmail dot com --- Comm

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2019-01-09 Thread egallager at gcc dot gnu.org
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

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2019-01-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042 Eric Gallager changed: What|Removed |Added Keywords||easyhack --- Comment #5 from Eric Gallag

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2017-03-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2017-03-15 Thread craig.topper at gmail dot com
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.

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2017-03-15 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80042 Eric Gallager changed: What|Removed |Added CC||egall at gwmail dot gwu.edu --- Comment

[Bug middle-end/80042] gcc thinks sin/cos don't set errno

2017-03-14 Thread pinskia at gcc dot gnu.org
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.