summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1999-09-26 18:13:28 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-26 18:13:28 +0000
commitd43163b742fbb74f35c006c99c364c52c6803561 (patch)
tree911a253292042838d20964857fcf09f3351ce008 /gcc/function.h
parentf0305a2b791f1cd4c563e48618e765f236180282 (diff)
downloadgcc-d43163b742fbb74f35c006c99c364c52c6803561.tar.gz
function.h (struct function): Add x_dont_save_pending_sizes_p.
* function.h (struct function): Add x_dont_save_pending_sizes_p. * stor-layout.c (variable_size): Don't add sizes to the pending sizes list if x_dont_save_pending_sizes_p is set. From-SVN: r29668
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 80053d20c30..24055e32b63 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -299,6 +299,15 @@ struct function
commences. */
int x_whole_function_mode_p;
+ /* Nonzero if the back-end should not keep track of expressions that
+ determine the size of variable-sized objects. Normally, such
+ expressions are saved away, and then expanded when the next
+ function is started. For example, if a parameter has a
+ variable-sized type, then the size of the parameter is computed
+ when the function body is entered. However, some front-ends do
+ not desire this behavior. */
+ int x_dont_save_pending_sizes_p;
+
/* List (chain of TREE_LIST) of LABEL_DECLs for all nonlocal labels
(labels to which there can be nonlocal gotos from nested functions)
in this function. */