------- Comment #11 from rguenth at gcc dot gnu dot org  2006-10-23 07:15 
-------
Subject: Bug 21032

Author: rguenth
Date: Mon Oct 23 07:15:45 2006
New Revision: 117968

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117968
Log:
2006-10-23  Richard Guenther  <[EMAIL PROTECTED]>

        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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr21032.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/convert.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21032

Reply via email to