aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-06-04 17:34:03 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-06-04 17:34:03 +0000
commit5efe5dec7a9db46a8514e6a0e1ef9bacc38cd807 (patch)
treece044c3ca53f5e72f7cc64bc3e179dc07f77c216 /gcc/config
parent29d70a0f6998f34ef7f6fbeff2455dd2d875159f (diff)
downloadgcc-5efe5dec7a9db46a8514e6a0e1ef9bacc38cd807.zip
gcc-5efe5dec7a9db46a8514e6a0e1ef9bacc38cd807.tar.gz
gcc-5efe5dec7a9db46a8514e6a0e1ef9bacc38cd807.tar.bz2
recog.h (alternative_class): New function.
gcc/ * recog.h (alternative_class): New function. (which_op_alt): Return a const recog_op_alt. * reg-stack.c (check_asm_stack_operands): Update type accordingly. (subst_asm_stack_regs): Likewise. * config/arm/arm.c (note_invalid_constants): Likewise. * regcprop.c (copyprop_hardreg_forward_1): Likewise. Don't modify the operand_alternative; use alternative class instead. * sel-sched.c (get_reg_class): Likewise. * regrename.c (build_def_use): Likewise. (hide_operands, restore_operands, record_out_operands): Update type accordingly. From-SVN: r211238
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arm/arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 061c758..d5d958e 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -16878,7 +16878,7 @@ note_invalid_constants (rtx insn, HOST_WIDE_INT address, int do_pushes)
this insn. */
preprocess_constraints ();
- operand_alternative *op_alt = which_op_alt ();
+ const operand_alternative *op_alt = which_op_alt ();
for (opno = 0; opno < recog_data.n_operands; opno++)
{
/* Things we need to fix can only occur in inputs. */