]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR rtl-optimization/70222
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2016 16:11:48 +0000 (16:11 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2016 16:11:48 +0000 (16:11 +0000)
commit167f93a20c8ce77da2ffce3a13a19a5eec94ead3
tree780aea325a716ecc198a88cd3bc011cf8ea2e921
parente96c90208d646e5bedc5674ddb51fa3b77ff6406
PR rtl-optimization/70222
* combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT
optimization if mode is different from result_mode, queue up masking
of the result in outer_op.  Formatting fix.

* gcc.c-torture/execute/pr70222-1.c: New test.
* gcc.c-torture/execute/pr70222-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234222 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr70222-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr70222-2.c [new file with mode: 0644]