2015-06-02 Christophe Lyon <christophe.lyon@linaro.org>
commit744cb91913596fc8667aca9ee087b61d4a767379
authorclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jun 2015 12:43:03 +0000 (4 12:43 +0000)
committerclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jun 2015 12:43:03 +0000 (4 12:43 +0000)
tree4b3932f992a5611fc8bccc9be29efee6c00d1d10
parentfca6a5961a29e046ac988e97792c94816aa8e238
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@224125 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_9-branch/gcc/ChangeLog.linaro
gcc-4_9-branch/gcc/simplify-rtx.c
gcc-4_9-branch/gcc/testsuite/ChangeLog.linaro
gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr63843.c [new file with mode: 0644]