summaryrefslogtreecommitdiff
path: root/gcc/read-rtl.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-05-19 07:10:42 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-05-19 07:10:42 +0000
commit9188b2863c0a2b6c91dbd6e6e373fada6b34f225 (patch)
treeb85ed03cf9e1c089c04a38231fdb767555930dc3 /gcc/read-rtl.c
parent8deccbb7c8e1a654f96a396125fd55a06d908de8 (diff)
rtl.h (reg_info): Add an nregs field.
gcc/ * rtl.h (reg_info): Add an nregs field. (REG_NREGS): Use it. (SET_REGNO_RAW): Delete. (set_regno_raw): New function. * regs.h (END_HARD_REGNO): Make equivalent to END_REGNO. (END_REGNO): Redefine in terms of REG_NREGS. * read-rtl.c (read_rtx_code): Call set_regno_raw instead of SET_REGNO_RAW. * emit-rtl.c (set_mode_and_regno): Likewise. * df-scan.c (df_ref_change_reg_with_loc): Use set_mode_and_regno instead of SET_REGNO_RAW. From-SVN: r223342
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r--gcc/read-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c
index a1ff48d0667..749efaff8af 100644
--- a/gcc/read-rtl.c
+++ b/gcc/read-rtl.c
@@ -1349,7 +1349,7 @@ read_rtx_code (const char *code_name)
case 'r':
read_name (&name);
validate_const_int (name.string);
- SET_REGNO_RAW (return_rtx, atoi (name.string));
+ set_regno_raw (return_rtx, atoi (name.string), 1);
REG_ATTRS (return_rtx) = NULL;
break;