summaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 7254e2ea4fc..65b9fe5ce50 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -82,6 +82,13 @@ hook_bool_mode_true (machine_mode)
return true;
}
+/* Generic hook that takes (machine_mode, machine_mode) and returns true. */
+bool
+hook_bool_mode_mode_true (machine_mode, machine_mode)
+{
+ return true;
+}
+
/* Generic hook that takes (machine_mode, const_rtx) and returns false. */
bool
hook_bool_mode_const_rtx_false (machine_mode, const_rtx)