[Bug rtl-optimization/50396] SSE division by zero generates incorrect code with optimizations enabled

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 23 09:17:00 GMT 2011


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

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-23 09:16:16 UTC ---
Author: rguenth
Date: Fri Dec 23 09:16:08 2011
New Revision: 182654

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182654
Log:
2011-12-23  Richard Guenther  <rguenther@suse.de>

    PR rtl-optimization/50396
    * simplify-rtx.c (simplify_binary_operation_1): Properly
    guard code that only works for integers.

    * gcc.dg/torture/pr50396.c: New testcase.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr50396.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/simplify-rtx.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list