re PR tree-optimization/48717 (integer wrong code bug)
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Apr 2011 18:52:48 +0000 (20:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Apr 2011 18:52:48 +0000 (20:52 +0200)
commit93dfac24adf650e093d21f71193072626595a37d
tree2bf01e9f8e4fb935acc4ef6d566f351cce6b5acd
parent1d284ec5c859481b080f19d5ddc13e2580c708ef
re PR tree-optimization/48717 (integer wrong code bug)

PR tree-optimization/48717
* tree-ssa-forwprop.c (associate_plusminus): For A + ~A and
~A + A optimizations use build_int_cst_type instead of build_int_cst.

* gcc.c-torture/execute/pr48717.c: New test.

From-SVN: r172868
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr48717.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c