summaryrefslogtreecommitdiff
path: root/gcc/rtl.def
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-05-13 10:38:57 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-05-13 10:38:57 +0000
commitfeb09dd93d0760c10dd9b381f49482fd67f80e1f (patch)
treeeba6db13343c0387b4b72e33ed22387bce48098b /gcc/rtl.def
parented8921dc73ef78e96e483df3ea204128d320aca2 (diff)
rtl.def (scratch): Fix outdated comment and remove "0" field.
gcc/ * rtl.def (scratch): Fix outdated comment and remove "0" field. * gengtype.c (adjust_field_rtx_def): Update accordingly. From-SVN: r210361
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r--gcc/rtl.def7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def
index f1924126e27..dda556daf69 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -384,11 +384,10 @@ DEF_RTL_EXPR(PC, "pc", "", RTX_OBJ)
DEF_RTL_EXPR(REG, "reg", "i0", RTX_OBJ)
/* A scratch register. This represents a register used only within a
- single insn. It will be turned into a REG during register allocation
+ single insn. It will be replaced by a REG during register allocation
or reload unless the constraint indicates that the register won't be
- needed, in which case it can remain a SCRATCH. This code is
- marked as having one operand so it can be turned into a REG. */
-DEF_RTL_EXPR(SCRATCH, "scratch", "0", RTX_OBJ)
+ needed, in which case it can remain a SCRATCH. */
+DEF_RTL_EXPR(SCRATCH, "scratch", "", RTX_OBJ)
/* A reference to a part of another value. The first operand is the
complete value and the second is the byte offset of the selected part. */