aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-02-17 21:33:43 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-02-17 21:33:43 +0000
commit1da326c33559e8a114bc379ec7c8f805dd37aef6 (patch)
tree58f53ff8b90ef0d35498ee8d08bb3febee99cd2b /gcc/c-decl.c
parent65c0764148b74f9dda9348242e6ddf6b7733278b (diff)
downloadgcc-1da326c33559e8a114bc379ec7c8f805dd37aef6.zip
gcc-1da326c33559e8a114bc379ec7c8f805dd37aef6.tar.gz
gcc-1da326c33559e8a114bc379ec7c8f805dd37aef6.tar.bz2
(c-decl.c, [...]): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION.
* (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c, function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c, tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION. * ada/utils.c: Likewise. * cp/decl.c: Likewise. * f/com.c: Likewise. * java/class.c: Likewise. From-SVN: r77985
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 685a9c8..0f76b88 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -1441,7 +1441,7 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype)
{
DECL_RESULT (newdecl) = DECL_RESULT (olddecl);
DECL_INITIAL (newdecl) = DECL_INITIAL (olddecl);
- DECL_SAVED_INSNS (newdecl) = DECL_SAVED_INSNS (olddecl);
+ DECL_STRUCT_FUNCTION (newdecl) = DECL_STRUCT_FUNCTION (olddecl);
DECL_SAVED_TREE (newdecl) = DECL_SAVED_TREE (olddecl);
DECL_ARGUMENTS (newdecl) = DECL_ARGUMENTS (olddecl);
@@ -6066,8 +6066,9 @@ finish_function (void)
&& current_function_returns_null)
warning ("this function may return with or without a value");
- /* We're leaving the context of this function, so zap cfun. It's still in
- DECL_SAVED_INSNS, and we'll restore it in tree_rest_of_compilation. */
+ /* We're leaving the context of this function, so zap cfun.
+ It's still in DECL_STRUCT_FUNCTION , and we'll restore it in
+ tree_rest_of_compilation. */
cfun = NULL;
/* ??? Objc emits functions after finalizing the compilation unit.
@@ -6240,7 +6241,7 @@ c_pop_function_context (struct function *f)
{
struct language_function *p = f->language;
- if (DECL_SAVED_INSNS (current_function_decl) == 0
+ if (DECL_STRUCT_FUNCTION (current_function_decl) == 0
&& DECL_SAVED_TREE (current_function_decl) == NULL_TREE)
{
/* Stop pointing to the local nodes about to be freed. */