aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-02 21:04:47 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-02 21:04:47 +0000
commitbddee3fc68117f52384ed928fd6d4c77fe5937de (patch)
tree01470e740f705e5577e71e6af35438011d9061fc /gcc/recog.c
parent15f63a9a1bacf025db3b7149524b64dad8055965 (diff)
downloadgcc-bddee3fc68117f52384ed928fd6d4c77fe5937de.zip
gcc-bddee3fc68117f52384ed928fd6d4c77fe5937de.tar.gz
gcc-bddee3fc68117f52384ed928fd6d4c77fe5937de.tar.bz2
recog_data::insn can be a rtx_insn *
gcc/ChangeLog: 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * genrecog.c (print_subroutine): Adjust. * recog.c (get_bool_attr_mask_uncached): Likewise. * recog.h (struct recog_data_d): Change the type of insn to rtx_insn *. From-SVN: r222733
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index a5be34c..53d89e0 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -2124,7 +2124,7 @@ get_bool_attr_mask_uncached (rtx_insn *insn, bool_attr attr)
that the insn operands are already cached. As above, the attribute
mustn't depend on the values of operands, so we don't provide their
real values here. */
- rtx old_insn = recog_data.insn;
+ rtx_insn *old_insn = recog_data.insn;
int old_alternative = which_alternative;
recog_data.insn = insn;