OSDN Git Service

PR target/25005
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Dec 2005 09:43:36 +0000 (09:43 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Dec 2005 09:43:36 +0000 (09:43 +0000)
commitd3c1c38905cdfc460bcad25570327764640d079c
treedf4e9bbf3472530f8b153c1b519009b9a1e5a557
parent0638c4341faf188e902f4f98745069f9edf6449b
PR target/25005
* regrename.c (replace_oldest_value_reg): Use validate_change with
IN_GROUP set to 1 instead of doing direct modifications.
(copyprop_hardreg_forward_1): Likewise.  If any replace_oldest_*
replacements have been performed on an instruction, use
apply_change_group ().

* g++.dg/opt/pr25005.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109013 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/regrename.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr25005.C [new file with mode: 0644]