aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 0954bde..8926638 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -1,5 +1,5 @@
/* General-purpose hooks.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -149,3 +149,11 @@ hook_bool_rtx_int_int_intp_false (a, b, c, d)
return false;
}
+/* Generic hook that takes an rtx and returns it. */
+rtx
+hook_rtx_rtx_identity (x)
+ rtx x;
+{
+ return x;
+}
+