[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-24 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 --- Comment #12 from Wilco --- (In reply to Richard Biener from comment #9) > I have also always wondered about that glibc guard, esp. it being the > kitchen-sink fast-math guard rather than sth more specific (yep, we don't > have anything for -

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-24 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 --- Comment #11 from Wilco --- (In reply to Andrew Pinski from comment #8) > Though accessing the errno from fortran is almost never done anyways so I > doubt that will matter here. The issue is that fast-math is the combination of many differ

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 --- Comment #9 from Richard Biener --- I have also always wondered about that glibc guard, esp. it being the kitchen-sink fast-math guard rather than sth more specific (yep, we don't have anything for -funsafe-math-optimizations). That is, I su

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > (In reply to Wilco from comment #6) > > (In reply to Andrew Pinski from comment #5) > > > > > Or you could just do: > > > #define TARGET_F951_OPTIONS > > > "%{

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 --- Comment #7 from Andrew Pinski --- (In reply to Wilco from comment #6) > (In reply to Andrew Pinski from comment #5) > > > Or you could just do: > > #define TARGET_F951_OPTIONS "%{Ofast|ffast-math|funsafe-math-optimizations: > > \ > > %{!no

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-20 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 --- Comment #6 from Wilco --- (In reply to Andrew Pinski from comment #5) > Or you could just do: > #define TARGET_F951_OPTIONS "%{Ofast|ffast-math|funsafe-math-optimizations: \ > %{!nostdinc: \ >%:fortran-preinclude-file(-fpre-include= mat

[Bug target/118955] Fortran uses vector math functions without -ffast-math

2025-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 Andrew Pinski changed: What|Removed |Added Component|fortran |target Status|UNCONFIRMED