PR tree-optimization/48717
commit19d861b9ef541120d660730921101a4048b302f5
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Apr 2011 18:52:48 +0000 (22 18:52 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Apr 2011 18:52:48 +0000 (22 18:52 +0000)
tree2bf01e9f8e4fb935acc4ef6d566f351cce6b5acd
parent19e1bfc74c6741a93d3989dba6e4b784c22320b0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172868 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr48717.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c