re PR rtl-optimization/50396 (SSE division by zero generates incorrect code with...
authorRichard Guenther <rguenther@suse.de>
Fri, 23 Dec 2011 09:10:18 +0000 (09:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 23 Dec 2011 09:10:18 +0000 (09:10 +0000)
commite46bf5d625d4e20b11f3a001d41247be330d4b1b
treeff3f050835a600396300926ed08f80d6958c7f10
parenta27d7a6fdf22848b10ca91d6417ade086ff5c4e0
re PR rtl-optimization/50396 (SSE division by zero generates incorrect code with optimizations enabled)

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.

From-SVN: r182653
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50396.c [new file with mode: 0644]