This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR21032, wrong-code with -frounding-math
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 22 Oct 2006 19:26:17 -0600 (MDT)
- Subject: 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
--