re PR rtl-optimization/33148 (ICE in trunc_int_for_mode, at explow.c:56 during combine)
authorJakub Jelinek <jakub@redhat.com>
Tue, 28 Aug 2007 09:47:32 +0000 (11:47 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 28 Aug 2007 09:47:32 +0000 (11:47 +0200)
commit71cca28908fd6715721704da2fe4f8929879cd86
tree422461cc69ae75f8496e5b267fb5f1e251b48a6b
parenta7d0852d3f7d3e0a596f53efb2d75cf522ffb43f
re PR rtl-optimization/33148 (ICE in trunc_int_for_mode, at explow.c:56 during combine)

PR rtl-optimization/33148
* simplify-rtx.c (simplify_unary_operation_1): Only optimize
(neg (lt X 0)) if X has scalar int mode.

* gcc.c-torture/compile/20070827-1.c: New test.

From-SVN: r127855
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20070827-1.c [new file with mode: 0644]