aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1997-03-18 20:00:38 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1997-03-18 20:00:38 +0000
commitf75487ff658dfb9bff53d6520da3cc4ceeec3181 (patch)
tree07c8489c3828720cdbb6ccaabab1d2beefa3a9ba
parent38b610ed8e01c374874a3f37437b8a7fe3f060b0 (diff)
downloadgcc-f75487ff658dfb9bff53d6520da3cc4ceeec3181.zip
gcc-f75487ff658dfb9bff53d6520da3cc4ceeec3181.tar.gz
gcc-f75487ff658dfb9bff53d6520da3cc4ceeec3181.tar.bz2
Update REG_EQUIV comment for assign_parms change
From-SVN: r13735
-rw-r--r--gcc/rtl.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 83e3cc0..2025339 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1,5 +1,5 @@
/* Register Transfer Language (RTL) definitions for GNU C-Compiler
- Copyright (C) 1987, 91-95, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1987, 91-96, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -257,13 +257,15 @@ typedef struct rtvec_def{
not needed past this insn). If REG is set in this insn, the REG_DEAD
note may, but need not, be omitted.
REG_INC means that the REG is autoincremented or autodecremented.
- REG_EQUIV describes the insn as a whole; it says that the
- insn sets a register to a constant value or to be equivalent to
- a memory address. If the
- register is spilled to the stack then the constant value
- should be substituted for it. The contents of the REG_EQUIV
+ REG_EQUIV describes the insn as a whole; it says that the insn
+ sets a register to a constant value or to be equivalent to a memory
+ address. If the register is spilled to the stack then the constant
+ value should be substituted for it. The contents of the REG_EQUIV
is the constant value or memory address, which may be different
- from the source of the SET although it has the same value.
+ from the source of the SET although it has the same value. A
+ REG_EQUIV note may also appear on an insn which copies a register
+ parameter to a pseudo-register, if there is a memory address which
+ could be used to hold that pseudo-register throughout the function.
REG_EQUAL is like REG_EQUIV except that the destination
is only momentarily equal to the specified rtx. Therefore, it
cannot be used for substitution; but it can be used for cse.