summaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-27 20:30:51 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-27 20:30:51 +0000
commitede4900a3370698d85011d12fc89b3ff2e41e7bf (patch)
tree11494656a8b241d4f92fd8d40071e2c4c83d9ade /gcc/gengenrtl.c
parent3655b6bf72aa8349aa31943dc36e7fffb15f5147 (diff)
downloadgcc-ede4900a3370698d85011d12fc89b3ff2e41e7bf.tar.gz
Introduce rtx_expr_list subclass of rtx_def
gcc/ 2014-08-27 David Malcolm <dmalcolm@redhat.com> * coretypes.h (class rtx_expr_list): Add forward declaration. * emit-rtl.c (gen_rtx_EXPR_LIST): New. * gengenrtl.c (special_rtx): Add EXPR_LIST. * rtl.h (class rtx_expr_list): New subclass of rtx_def, adding invariant: GET_CODE (X) == EXPR_LIST. (is_a_helper <rtx_expr_list *>::test): New. (rtx_expr_list::next): New. (rtx_expr_list::element): New. (gen_rtx_EXPR_LIST): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214601 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r--gcc/gengenrtl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index cd2934126af..885dd200c27 100644
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -123,7 +123,8 @@ special_format (const char *fmt)
static int
special_rtx (int idx)
{
- return (strcmp (defs[idx].enumname, "INSN_LIST") == 0
+ return (strcmp (defs[idx].enumname, "EXPR_LIST") == 0
+ || strcmp (defs[idx].enumname, "INSN_LIST") == 0
|| strcmp (defs[idx].enumname, "CONST_INT") == 0
|| strcmp (defs[idx].enumname, "REG") == 0
|| strcmp (defs[idx].enumname, "SUBREG") == 0