re PR target/69442 (wrong code with -Og and 64bit modulo @ armv7a)
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Jan 2016 11:12:03 +0000 (12:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 26 Jan 2016 11:12:03 +0000 (12:12 +0100)
commit6c06e0e822db96b71c80e268260d2b4b4c1bc1f5
tree13dabb40608100e7283aa3ad638031f8b5807728
parentb96824c4848d33c8cc9b574ce29da98464feaabb
re PR target/69442 (wrong code with -Og and 64bit modulo @ armv7a)

PR target/69442
* combine.c (combine_instructions): For REG_EQUAL note with
SET_DEST being ZERO_EXTRACT, also temporarily set SET_DEST
to the underlying register.
* doc/rtl.texi (REG_EQUAL): Document the behavior of
REG_EQUAL/REG_EQUIV notes if SET_DEST is ZERO_EXTRACT.

* gcc.dg/pr69442.c: New test.

From-SVN: r232819
gcc/ChangeLog
gcc/combine.c
gcc/doc/rtl.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr69442.c [new file with mode: 0644]