aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2004-07-28 02:27:20 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2004-07-27 22:27:20 -0400
commit1a837f7746a6627e3651119531de18fcd95d6dfd (patch)
tree568e306fd21e996f7b463cb5bdd43364edf136f6 /gcc/function.h
parente847cc68ebc1e2a961941e75ae613fec9f90463b (diff)
downloadgcc-1a837f7746a6627e3651119531de18fcd95d6dfd.zip
gcc-1a837f7746a6627e3651119531de18fcd95d6dfd.tar.gz
gcc-1a837f7746a6627e3651119531de18fcd95d6dfd.tar.bz2
re PR tree-optimization/15077 (ICE in make_decl_rtl when inlining tail recursive nested function)
PR optimization/15077 * function.h (struct function): Add field saved_static_chain_decl. Fix comment for static_chain_decl. * tree-inline.c (save_body): Add new arg and handle static_chain_decl. * tree-inline.h (save_body): Add new arg. * tree-optimize.c (tree_rest_of_compilation): Handle saving static_chain_decl. From-SVN: r85247
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 60baf84..b3e750f 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -173,6 +173,7 @@ struct function GTY(())
inlining */
tree saved_tree;
tree saved_args;
+ tree saved_static_chain_decl;
/* For function.c. */
@@ -254,7 +255,7 @@ struct function GTY(())
If stack grows up, this is the address for the next slot. */
HOST_WIDE_INT x_frame_offset;
- /* A VAR_DECL that should contain the static chain for this function.
+ /* A PARM_DECL that should contain the static chain for this function.
It will be initialized at the beginning of the function. */
tree static_chain_decl;