This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR21032, wrong-code with -frounding-math


On Sat, 21 Oct 2006, Richard Guenther wrote:
> 2006-10-21  Richard Guenther  <rguenther@suse.de>
>
> 	PR middle-end/21032
> 	* convert.c (convert_to_real): Fold (float)-x to -(float)x
> 	only if not flag_rounding_math.
>
> 	* gcc.dg/pr21032.c: New testcase.

:REVIEWMAIL:

This is OK for mainline.  Thanks.

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]