summaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-08 09:45:02 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-08 09:45:02 +0000
commitfd311d44de2c3eb4648dc995a443fd4d3094c6f8 (patch)
treefd8100bd458c3817a09042302094d5eea7aa0fd3 /gcc/reload1.c
parentc27a06a27ed9afd14a57e79c582fd5a755949887 (diff)
downloadgcc-fd311d44de2c3eb4648dc995a443fd4d3094c6f8.tar.gz
* reload1.c (current_function_decl): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 9595ffd4299..9491206fc36 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -282,6 +282,12 @@ extern rtx forced_labels;
examine. */
struct insn_chain *reload_insn_chain;
+#ifdef TREE_CODE
+extern tree current_function_decl;
+#else
+extern void *current_function_decl;
+#endif
+
/* List of all insns needing reloads. */
static struct insn_chain *insns_need_reload;