From d6e1e8b8d1663dd2b25bc9e27ca099568848c641 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 9 Sep 2014 15:14:03 +0000 Subject: Handcode gen_rtx_INSN gcc/ChangeLog: 2014-09-09 David Malcolm * combine.c (try_combine): Eliminate checked cast on result of gen_rtx_INSN. * emit-rtl.c (gen_rtx_INSN): New function, improving over the prior autogenerated one by strengthening the return type and params 2 and 3 from rtx to rtx_insn *, and by naming the params. * gengenrtl.c (special_rtx): Add INSN to those that are special-cased. * rtl.h (gen_rtx_INSN): New prototype. From-SVN: r215083 --- gcc/gengenrtl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/gengenrtl.c') diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index 885dd20..d3eca98 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -125,6 +125,7 @@ special_rtx (int idx) { return (strcmp (defs[idx].enumname, "EXPR_LIST") == 0 || strcmp (defs[idx].enumname, "INSN_LIST") == 0 + || strcmp (defs[idx].enumname, "INSN") == 0 || strcmp (defs[idx].enumname, "CONST_INT") == 0 || strcmp (defs[idx].enumname, "REG") == 0 || strcmp (defs[idx].enumname, "SUBREG") == 0 -- cgit v1.1