aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-05-05 11:49:05 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-05-05 11:49:05 +0000
commit907a08d9b1d7516357bee7ab19e3c4f1673d467a (patch)
tree24bcb4ab05984024b910b92fe87d6d7837f482af /gcc/c-decl.c
parent386d9c5719c64ff748fcdaa2c0b5452c2180cec7 (diff)
downloadgcc-907a08d9b1d7516357bee7ab19e3c4f1673d467a.zip
gcc-907a08d9b1d7516357bee7ab19e3c4f1673d467a.tar.gz
gcc-907a08d9b1d7516357bee7ab19e3c4f1673d467a.tar.bz2
tree.h (get_pending_sizes): Remove prototype.
* tree.h (get_pending_sizes): Remove prototype. (put_pending_size): Likewise. (put_pending_sizes): Likewise. * stor-layout.c (pending_sizes): Delete. (get_pending_sizes): Likewise. (put_pending_size): Likewise. (put_pending_sizes): Likewise. (variable_size): Do not call put_pending_size and tidy up. * function.h (struct function): Remove dont_save_pending_sizes_p. * lto-streamer-in.c (input_function): Do not stream it. * lto-streamer-out.c (output_function): Likewise. * tree-inline.c (initialize_cfun): Do not copy it. * c-decl.c (store_parm_decls): Do not set it. * omp-low.c (create_task_copyfn): Likewise. * tree-optimize.c (tree_rest_of_compilation): Likewise. cp/ * decl.c (start_preparsed_function): Likewise. fortran/ * trans-decl.c (trans_function_start): Likewise. ada/ * gcc-interface/utils.c (begin_subprog_body): Do not call get_pending_sizes. (end_subprog_body): Likewise. From-SVN: r173424
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 6bc0948..cea2605 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -8173,12 +8173,6 @@ store_parm_decls (void)
other pending sizes would be handled by gimplify_parameters. */
if (arg_info->pending_sizes)
add_stmt (arg_info->pending_sizes);
-
- /* Even though we're inside a function body, we still don't want to
- call expand_expr to calculate the size of a variable-sized array.
- We haven't necessarily assigned RTL to all variables yet, so it's
- not safe to try to expand expressions involving them. */
- cfun->dont_save_pending_sizes_p = 1;
}