summaryrefslogtreecommitdiff
path: root/gcc/genattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r--gcc/genattr.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c
index f9501eda39e..71b2dc0f0b0 100644
--- a/gcc/genattr.c
+++ b/gcc/genattr.c
@@ -32,9 +32,6 @@ struct obstack *rtl_obstack = &obstack;
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
-/* Define this so we can link with print-rtl.o to get debug_rtx function. */
-char **insn_name_ptr = 0;
-
/* A range of values. */
struct range
@@ -411,3 +408,11 @@ from the machine description file `md'. */\n\n");
/* NOTREACHED */
return 0;
}
+
+/* Define this so we can link with print-rtl.o to get debug_rtx function. */
+const char *
+get_insn_name (code)
+ int code;
+{
+ return NULL;
+}