re PR rtl-optimization/11741 (internal compiler error at gcse.c:5318)
authorRoger Sayle <sayle@gcc.gnu.org>
Fri, 26 Sep 2003 18:23:33 +0000 (18:23 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 26 Sep 2003 18:23:33 +0000 (18:23 +0000)
commit073089a7e016eaee614755fc4d54e74007de779b
tree5040023f54434be9483c111c7a2cbc52d48270c4
parent43ab026f2a019405f7e5af2a35ac41467dc35111
re PR rtl-optimization/11741 (internal compiler error at gcse.c:5318)

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.

From-SVN: r71827
gcc/ChangeLog
gcc/gcse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030926-1.c [new file with mode: 0644]