]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-ccp.c
PR tree-optimization/47538
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 2011 16:52:22 +0000 (16:52 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 2011 16:52:22 +0000 (16:52 +0000)
commit90c0f5b719ead1fbc43ad728e55252c10efb94bb
treecf5d6a5c4c84d7cb898730f0e74189afecd15f95
parent43525f8a34ecd2571d692ddb5693223396d35279
PR tree-optimization/47538
* tree-ssa-ccp.c (bit_value_binop_1): For uns computation use
type instead of r1type, except for comparisons.  For right
shifts and comparisons punt if there are mismatches in
sizetype vs. non-sizetype types.

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

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