Re: [RFC] Turning off trapping-math for C and C++ front-ends by default

Richard Biener via Gcc <[email protected]> Thu, 2 Jul 2026 18:45:58 +0200
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>

> Am 02.07.2026 um 18:22 schrieb Joseph Myers via Gcc <[email protected]>:
> 
> On Thu, 2 Jul 2026, Richard Biener via Gcc wrote:
> 
>> Maybe -ffp-exceptions={none,ieee,ieee-alternate}?
> 
> Both ieee and ieee-alternate would encompass a wide range of restrictions
> on permitted transformations (adding exceptions, losing exceptions, moving
> where exceptions occur, etc.) that it's not clear should be grouped
> together like that.

It would be easy to understand because it were to use standards terms?  But do you have an alternative suggestion?  I specifically wanted a way to exclude alternate exception handling methods like traps because that simplifies EH

Richard 

> 
> --
> Joseph S. Myers
> [email protected]
>