disabling the effects of -ffast-math at specific locations
Jonathan Wakely
jwakely.gcc@gmail.com
Sun Sep 11 09:17:00 GMT 2011
On 11 September 2011 03:43, Tim Prince wrote:
>
> Perhaps you want the -protect-parens option (and a recent enough version of
> gcc to support that)? I think I've been informed that this option is a
> default for gcc 4.6. This option would allow
> f = (f + g) -g
> to produce the result you appear to want.
According to the manual -fprotect-parens is the default for 4.5+ but
it's only valid for Fortran.
More information about the Gcc-help
mailing list