re PR rtl-optimization/57130 (Incorrect "and --> extract" conversion in combine)
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 May 2013 12:56:12 +0000 (14:56 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 May 2013 12:56:12 +0000 (14:56 +0200)
commit47954c4e773ef399e269f0660a74369b3fb95f93
treea94c8648366d4d082e453944d835339cf069619d
parent3c21604ff116e07ed3ea58a93339820d0dc8af67
re PR rtl-optimization/57130 (Incorrect "and --> extract" conversion in combine)

PR rtl-optimization/57130
* combine.c (make_compound_operation) <case SUBREG>: Pass
SET instead of COMPARE as in_code to the recursive call
if needed.

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

From-SVN: r198579
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr57130.c [new file with mode: 0644]