2015-06-02 Christophe Lyon <christophe.lyon@linaro.org>
authorclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jun 2015 12:43:03 +0000 (12:43 +0000)
committerclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jun 2015 12:43:03 +0000 (12:43 +0000)
commit7918f00dd46d9733840dd3cdc9fa1bdde44a2a15
tree6a64ff33746994cec344473d028d45ddacab1192
parentd92cd12417bd8e07ac679a4cf212eb5f77d626a3
2015-06-02  Christophe Lyon  <christophe.lyon@linaro.org>

Backport from trunk r217753.
2014-11-19  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/63843
gcc/
* simplify-rtx.c (simplify_binary_operation_1) <case ASHIFTRT>: For
optimization of ashiftrt of subreg of lshiftrt, check that code
is ASHIFTRT.

gcc/testsuite
* gcc.c-torture/execute/pr63843.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@224125 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.linaro
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog.linaro
gcc/testsuite/gcc.c-torture/execute/pr63843.c [new file with mode: 0644]