aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-06-05 06:51:02 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-06-05 06:51:02 +0000
commit1f7317498d7f85794a0e86cf66a1b6a5a8b1dcd9 (patch)
tree44b13ffdf8f48f0846c6fa756dcb798b1402864b /gcc/c-tree.h
parent333e14b0da82d2a6f002ca385175c63df7d6050a (diff)
downloadgcc-1f7317498d7f85794a0e86cf66a1b6a5a8b1dcd9.zip
gcc-1f7317498d7f85794a0e86cf66a1b6a5a8b1dcd9.tar.gz
gcc-1f7317498d7f85794a0e86cf66a1b6a5a8b1dcd9.tar.bz2
c-tree.h (lang_decl): Add pending_sizes fields.
* c-tree.h (lang_decl): Add pending_sizes fields. * c-decl.c (store_parm_decls): Save pending_sizes away for nested functions. (c_expand_body): Expand them. (lang_mark_tree): Mark lang_decl:pending_sizes. * function.c (expand_pending_sizes): New function, broken out from ... (expand_function_start): ... here. * tree.h (expand_pending_sizes): Declare it. From-SVN: r42892
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 508567a..1ea096f 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -41,12 +41,15 @@ struct lang_identifier
tree error_locus, limbo_value;
};
-/* Wrapping c_lang_decl in another struct is an unfortunate
- necessity. */
+/* Language-specific declaration information. */
struct lang_decl
{
struct c_lang_decl base;
+ /* The return types and parameter types may have variable size.
+ This is a list of any SAVE_EXPRs that need to be evaluated to
+ compute those sizes. */
+ tree pending_sizes;
};
/* Macros for access to language-specific slots in an identifier. */