aboutsummaryrefslogtreecommitdiff
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 090a45a..ef90ce13 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -209,3 +209,10 @@ hook_bool_voidp_size_t_false (void * a ATTRIBUTE_UNUSED,
{
return false;
}
+
+/* Generic hook that takes a tree and returns it as is. */
+tree
+hook_tree_tree_identity (tree a)
+{
+ return a;
+}