]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/64756 (wrong code at -O3 on x86_64-linux-gnu (in 32-bit mode))
authorJakub Jelinek <jakub@redhat.com>
Tue, 3 Feb 2015 20:41:38 +0000 (21:41 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Feb 2015 20:41:38 +0000 (21:41 +0100)
commit2a1d78d8f61d109b80402681a85d0051411f2cfe
tree1eaac6ad59091097ae8b08e988c7ffa361d92f59
parent3548abca0218168da1bb9f8cace29282a7495fbf
re PR rtl-optimization/64756 (wrong code at -O3 on x86_64-linux-gnu (in 32-bit mode))

PR rtl-optimization/64756
* cse.c (invalidate_dest): New function.
(cse_insn): Use it.  If dest != SET_DEST (sets[i].rtl) and
HASH (SET_DEST (sets[i].rtl), mode) computation sets do_not_record,
invalidate and do not record it.

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

From-SVN: r220377
gcc/ChangeLog
gcc/cse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr64756.c [new file with mode: 0644]