[Bug c/54192] -fno-trapping-math by default?

2023-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #11 from Richard Biener --- Internally we might want to introduce HONOR_FPE_{DIVBYZERO,INEXACT,INVALID,OVERFLOW,UNDERFLOW} so transforms can be appropriately annotated. There might be a difference between preserving and not introduci

[Bug c/54192] -fno-trapping-math by default?

2023-08-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #10 from Richard Biener --- (In reply to Eric Botcazou from comment #7) > > I suppose that argues for a tighter coupling of -fnon-call-exceptions > > and -ftrapping-math and in particular not enabling -ftrapping-math > > by default (u

[Bug c/54192] -fno-trapping-math by default?

2021-09-21 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #9 from rguenther at suse dot de --- On Tue, 21 Sep 2021, joseph at codesourcery dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 > > --- Comment #8 from joseph at codesourcery dot com dot com> --- > On Tue, 21 S

[Bug c/54192] -fno-trapping-math by default?

2021-09-21 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #8 from joseph at codesourcery dot com --- On Tue, 21 Sep 2021, rguenther at suse dot de via Gcc-bugs wrote: > Yes, as said in other contexts GCC happily _removes_ traps if trapping > is the only side-effect. _Unless_ you also have

[Bug c/54192] -fno-trapping-math by default?

2021-09-21 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2021-09-21 Status|UNCONFIRME

[Bug c/54192] -fno-trapping-math by default?

2021-09-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #6 from rguenther at suse dot de --- On Tue, 21 Sep 2021, gabravier at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 > > Gabriel Ravier changed: > >What|Removed |Adde

[Bug c/54192] -fno-trapping-math by default?

2021-09-20 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug c/54192] -fno-trapping-math by default?

2019-08-01 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #4 from joseph at codesourcery dot com --- On Mon, 24 Jun 2019, rguenth at gcc dot gnu.org wrote: > so I guess it differs from -frounding-math also in a way that it doesn't > guard FENV access of the exception state (I'd say that is

[Bug c/54192] -fno-trapping-math by default?

2019-06-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c/54192] -fno-trapping-math by default?

2012-08-07 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #2 from Marc Glisse 2012-08-07 13:13:46 UTC --- Don't you need to tell the compiler (with the FENV_ACCESS pragma) that you are going to look at flags, just like you tell it that you are going to use non-default rounding modes? "In ge

[Bug c/54192] -fno-trapping-math by default?

2012-08-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #1 from Richard Guenther 2012-08-07 12:50:16 UTC --- The current reasoning is that the C standard allows the implementation to say that only round-to-nearest is supported but not that the trapping parts of IEEE are not honored. The d