summaryrefslogtreecommitdiff
path: root/gcc/genrecog.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/genrecog.c
parent15f63a9a1bacf025db3b7149524b64dad8055965 (diff)
downloadgcc-bddee3fc68117f52384ed928fd6d4c77fe5937de.tar.gz
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/genrecog.c')
-rw-r--r--gcc/genrecog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 29da09483fe..73e7995262a 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -5118,7 +5118,7 @@ print_subroutine (output_state *os, state *s, int proc_id)
print_subroutine_start (os, s, &root_pos);
if (proc_id == 0)
{
- printf (" recog_data.insn = NULL_RTX;\n");
+ printf (" recog_data.insn = NULL;\n");
printf (" rtx_insn *insn ATTRIBUTE_UNUSED;\n");
printf (" insn = safe_as_a <rtx_insn *> (uncast_insn);\n");
}