summaryrefslogtreecommitdiff
path: root/gcc/optabs.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-24 17:28:41 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-24 17:28:41 +0000
commit6cdd383ad344227754c65ef8d731802197890a82 (patch)
tree528f887d302a83c24849f9d2bb197affe426e5e5 /gcc/optabs.h
parentc808e68a949dc87c27d010746cd08cb316d6c313 (diff)
downloadgcc-6cdd383ad344227754c65ef8d731802197890a82.tar.gz
Introduce and use unknown_optab
Prep for a later patch where this becomes an enum value. * optabs.h (unknown_optab): New. * builtins.c (interclass_mathfn_icode): Use it. * dojump.c (do_compare_rtx_and_jump): Likewise. * optabs.c (optab_for_tree_code, expand_binop): Likewise. * tree-vect-generic.c (add_rshift, expand_vector_divmod): Likewise. (expand_vector_operations_1): Likewise. * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise. * tree-vect-stmts.c (supportable_narrowing_operation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189816 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.h')
-rw-r--r--gcc/optabs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/optabs.h b/gcc/optabs.h
index 816fc296742..c502766d9e8 100644
--- a/gcc/optabs.h
+++ b/gcc/optabs.h
@@ -412,6 +412,8 @@ enum optab_index
OTI_MAX
};
+#define unknown_optab NULL
+
#define ssadd_optab (&optab_table[OTI_ssadd])
#define usadd_optab (&optab_table[OTI_usadd])
#define sssub_optab (&optab_table[OTI_sssub])