summaryrefslogtreecommitdiff
path: root/gcc/regrename.c
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 /gcc/regrename.c
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
Diffstat (limited to 'gcc/regrename.c')
-rw-r--r--gcc/regrename.c4
1 files changed, 3 insertions, 1 deletions
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;