OSDN Git Service

PR optimization/11741
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Sep 2003 18:23:33 +0000 (18:23 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Sep 2003 18:23:33 +0000 (18:23 +0000)
commit53ee16e4a8273d7fd600c9004ff1a1a0cca47c2e
tree5040023f54434be9483c111c7a2cbc52d48270c4
parenta3cab1c2d25bf116f5931d5babbf9b554b168a6e
PR optimization/11741
* gcse.c (pre_insert_copy_insn): Tweak the logic for finding the
appropriate set to match that in hash_scan_insn.  Fall back to
the original copy method, if we can't validate changing insn.
(pre_delete): Only delete instructions that have a single_set,
instead of aborting when we encounter an PARALLEL insn with more
then one SET.

* gcc.dg/20030926-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71827 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030926-1.c [new file with mode: 0644]