summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-24 00:33:06 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-24 00:33:06 +0000
commit0e5f14d42027a66519fc8129c7632608783eeaeb (patch)
tree4292f1e6e47f53a1a21db2997be5f92483e87f4f /gcc/defaults.h
parentb77eb5eb02f6bed57185940a4642fb79698e1bbc (diff)
downloadgcc-0e5f14d42027a66519fc8129c7632608783eeaeb.tar.gz
add default for HAVE_tablejump
gcc/ChangeLog: 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (gen_tablejump): New function. (HAVE_tablejump): Add default value. * expr.c: Adjust. * stmt.c: Likewise. From-SVN: r223625
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 566841b532b..53d66823977 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1494,6 +1494,16 @@ gen_store_multiple (rtx, rtx, rtx)
}
#endif
+#ifndef HAVE_tablejump
+#define HAVE_tablejump 0
+static inline rtx
+gen_tablejump (rtx, rtx)
+{
+ gcc_unreachable ();
+ return NULL;
+}
+#endif
+
#endif /* GCC_INSN_FLAGS_H */
#endif /* ! GCC_DEFAULTS_H */