aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index d5da38f..3da610d 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -12915,7 +12915,7 @@ start_function (declspecs, declarator, attrs, flags)
We haven't necessarily assigned RTL to all variables yet, so it's
not safe to try to expand expressions involving them. */
immediate_size_expand = 0;
- get_pending_sizes ();
+ current_function->x_dont_save_pending_sizes_p = 1;
/* Let the user know we're compiling this function. */
if (processing_template_decl || !building_stmt_tree ())