aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1995-03-15 21:48:01 +0000
committerJason Merrill <merrill@gnu.org>1995-03-15 21:48:01 +0000
commita0dabda52b4085f759f495d3e60b6583d7b3668c (patch)
treede550194d07caa99c7e8e4d1bb77efbed87b201e /gcc/function.h
parentea9be0775811e679b8c32cf11475ff4c432852fa (diff)
downloadgcc-a0dabda52b4085f759f495d3e60b6583d7b3668c.zip
gcc-a0dabda52b4085f759f495d3e60b6583d7b3668c.tar.gz
gcc-a0dabda52b4085f759f495d3e60b6583d7b3668c.tar.bz2
Handle compilation of nested functions from another scope.
From-SVN: r9185
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 03186ad..e8b32e8 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -47,6 +47,14 @@ struct sequence_stack
};
extern struct sequence_stack *sequence_stack;
+
+/* Stack of single obstacks. */
+
+struct simple_obstack_stack
+{
+ struct obstack *obstack;
+ struct simple_obstack_stack *next;
+};
/* This structure can save all the important global and static variables
describing the status of the current function. */
@@ -67,6 +75,7 @@ struct function
int calls_alloca;
int has_nonlocal_label;
int has_nonlocal_goto;
+ int contains_functions;
rtx nonlocal_goto_handler_slot;
rtx nonlocal_goto_stack_level;
tree nonlocal_labels;
@@ -158,6 +167,7 @@ struct function
struct obstack *expression_obstack;
struct obstack *saveable_obstack;
struct obstack *rtl_obstack;
+ struct simple_obstack_stack *inline_obstacks;
/* For integrate.c. */
int uses_const_pool;