------- Additional Comments From bagnara at cs dot unipr dot it 2005-04-17
08:52 -------
Subject: Re: Excessive optimization of floating point
expression
pinskia at gcc dot gnu dot org wrote:
> Note GCC does not know about the rounding mode,
This seems a good reason not to attempt optimizations
that only work with a given rounding mode.
> in fact the round mode is only changeable in C99
> by the #pragma which GCC does not do right now and I thought that is a
> different PR already.
I do not see the connection with the #pragma you are talking about.
IMHO, a program that uses the services of <fenv.h>, which is
covered by section 7.6 of the C99 standard, is a perfectly
legal C99 program, and thus deserves to be compiled correctly
as prescribed by that standard.
Am I missing something?
All the best,
Roberto
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21067