aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldek Hebisch <hebisch@math.uni.wroc.pl>2003-11-24 22:19:33 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2003-11-24 22:19:33 +0100
commit1be4cd1f28b27fc2c790df923006257feb491eca (patch)
tree816de4cec5fd081b3bc30b3f93e5116037f6881d
parent3c8797ae81937ef87756d24c2420e1f474ac0cd8 (diff)
downloadgcc-1be4cd1f28b27fc2c790df923006257feb491eca.zip
gcc-1be4cd1f28b27fc2c790df923006257feb491eca.tar.gz
gcc-1be4cd1f28b27fc2c790df923006257feb491eca.tar.bz2
function.c: Make outer_function-chain external.
2003-11-23 Waldek Hebisch <hebisch@math.uni.wroc.pl> * function.c: Make outer_function-chain external. * function.h: Likewise. From-SVN: r73894
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/function.c2
-rw-r--r--gcc/function.h3
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f64a7e5..da7b9a2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-23 Waldek Hebisch <hebisch@math.uni.wroc.pl>
+
+ * function.c: Make outer_function-chain external.
+ * function.h: Likewise.
+
2003-11-24 Richard Sandiford <rsandifo@redhat.com>
* config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when
diff --git a/gcc/function.c b/gcc/function.c
index 7bd3190..d37f656 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -295,7 +295,7 @@ static tree split_complex_args (tree);
static void set_insn_locators (rtx, int) ATTRIBUTE_UNUSED;
/* Pointer to chain of `struct function' for containing functions. */
-static GTY(()) struct function *outer_function_chain;
+struct function *outer_function_chain;
/* List of insns that were postponed by purge_addressof_1. */
static rtx postponed_insns;
diff --git a/gcc/function.h b/gcc/function.h
index 9c06d95..3aad05a 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -519,6 +519,9 @@ struct function GTY(())
/* The function currently being compiled. */
extern GTY(()) struct function *cfun;
+/* Pointer to chain of `struct function' for containing functions. */
+extern GTY(()) struct function *outer_function_chain;
+
/* Nonzero if we've already converted virtual regs to hard regs. */
extern int virtuals_instantiated;