]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/57281 (x86_64-linux loop fails to terminate at -O3 -m32)
authorJakub Jelinek <jakub@redhat.com>
Fri, 17 May 2013 15:22:24 +0000 (17:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 17 May 2013 15:22:24 +0000 (17:22 +0200)
commit38c821cf31574eb73cf27eec4573fd7e51217fcb
tree3d0d13cf416543870652063886deb0cba04a770f
parent2a293391eca5ddea7bc6debb411a605b7cc1ee52
re PR rtl-optimization/57281 (x86_64-linux loop fails to terminate at -O3 -m32)

PR rtl-optimization/57281
PR rtl-optimization/57300
* config/i386/i386.md (extendsidi2_1 dead reg splitter): Remove.
(extendsidi2_1 peephole2s): Add instead 2 new peephole2s, that undo
what the other splitter did if the registers are dead.

* gcc.dg/pr57300.c: New test.
* gcc.c-torture/execute/pr57281.c: New test.

From-SVN: r199018
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr57281.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr57300.c [new file with mode: 0644]