summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-27 08:11:00 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-27 08:11:00 +0000
commitf68ab9c535c26d62063f272878415869effc0ef6 (patch)
tree82f89cd593836e6dde39d01355a3d09a04bf4b68
parent3837145e915629df63e49cbaa41580a006fe49e5 (diff)
downloadgcc-f68ab9c535c26d62063f272878415869effc0ef6.tar.gz
* regrename.c (copy_value): Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101351 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/regrename.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9fe1c391e70..092783dfe3a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2005-06-27 Jakub Jelinek <jakub@redhat.com>
+ * regrename.c (copy_value): Fix comment.
+
* toplev.c (process_options): Use if (FRAME_GROWS_DOWNWARD)
instead of preprocessor conditionals.
diff --git a/gcc/regrename.c b/gcc/regrename.c
index 91e9d71a9a1..3a596ff35df 100644
--- a/gcc/regrename.c
+++ b/gcc/regrename.c
@@ -1225,7 +1225,9 @@ copy_value (rtx dest, rtx src, struct value_data *vd)
if (frame_pointer_needed && dr == HARD_FRAME_POINTER_REGNUM)
return;
- /* Likewise for fixed or global registers. */
+ /* Do not propagate copies to fixed or global registers, patterns
+ can be relying to see particular fixed register or users can
+ expect the chosen global register in asm. */
if (fixed_regs[dr] || global_regs[dr])
return;