diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2016-11-21 06:15:08 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2016-11-21 06:15:08 +0000 |
commit | 800dcd865a5bdae76e6e95f2d4c24791c36907f7 (patch) | |
tree | 509ef6320640f978b338781791b3dbfd30eb42af /gcc/expr.c | |
parent | f370536c9c6a1eca30fe9685b9cbcb8dca681e36 (diff) | |
download | gcc-800dcd865a5bdae76e6e95f2d4c24791c36907f7.zip gcc-800dcd865a5bdae76e6e95f2d4c24791c36907f7.tar.gz gcc-800dcd865a5bdae76e6e95f2d4c24791c36907f7.tar.bz2 |
make recog () take a rtx_insn *
gcc/ChangeLog:
2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* config/v850/v850.c (expand_prologue): Adjust.
(expand_epilogue): Likewise.
* expr.c (init_expr_target): Likewise.
* genrecog.c (print_subroutine): Always make the argument type
rtx_insn *.
* recog.h: Adjust prototype.
From-SVN: r242651
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,7 +109,7 @@ static HOST_WIDE_INT int_expr_size (tree); void init_expr_target (void) { - rtx insn, pat; + rtx pat; machine_mode mode; int num_clobbers; rtx mem, mem1; @@ -125,7 +125,7 @@ init_expr_target (void) useless RTL allocations. */ reg = gen_rtx_REG (word_mode, LAST_VIRTUAL_REGISTER + 1); - insn = rtx_alloc (INSN); + rtx_insn *insn = as_a<rtx_insn *> (rtx_alloc (INSN)); pat = gen_rtx_SET (NULL_RTX, NULL_RTX); PATTERN (insn) = pat; |