summaryrefslogtreecommitdiff
path: root/gcc/gencodes.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-15 09:23:14 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-15 09:23:14 +0000
commit497b2a2903f10a7ad4d92664731e117b622a6b33 (patch)
tree1d2daaf00985812118111ee526e8d49b58ee1e3a /gcc/gencodes.c
parent4965df100d95ca7df7bf132bc68977305ffa555c (diff)
downloadgcc-497b2a2903f10a7ad4d92664731e117b622a6b33.tar.gz
Link in print-rtl.o to all gen* programs except gengenrtl
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19222 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gencodes.c')
-rw-r--r--gcc/gencodes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gencodes.c b/gcc/gencodes.c
index 677c3446aea..c74ae0a6e9f 100644
--- a/gcc/gencodes.c
+++ b/gcc/gencodes.c
@@ -37,6 +37,9 @@ char *xmalloc PROTO((unsigned));
static void fatal ();
void fancy_abort PROTO((void));
+/* Define this so we can link with print-rtl.o to get debug_rtx function. */
+char **insn_name_ptr = 0;
+
static int insn_code_number;
static void gen_insn PROTO((rtx));