re PR rtl-optimization/19579 (-march=i686 generates a bogus program for x86*)
authorJakub Jelinek <jakub@redhat.com>
Tue, 25 Jan 2005 23:09:10 +0000 (00:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 25 Jan 2005 23:09:10 +0000 (00:09 +0100)
commitb8e48b9803cfc1ea11dda0879c2e068c4dfbe61f
treeacbe784c2e411ea29bd4577aa9c328f01710b429
parent8dac1b213e4e0995fdcbbbd1bea9514e79033305
re PR rtl-optimization/19579 (-march=i686 generates a bogus program for x86*)

PR rtl-optimization/19579
* ifcvt.c (noce_try_cmove_arith): If emitting instructions to set up
both A and B, see if they don't clobber registers the other expr uses.

* gcc.c-torture/execute/20050124-1.c: New test.

From-SVN: r94234
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20050124-1.c [new file with mode: 0644]