diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-05-05 11:49:05 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-05-05 11:49:05 +0000 |
commit | 907a08d9b1d7516357bee7ab19e3c4f1673d467a (patch) | |
tree | 24bcb4ab05984024b910b92fe87d6d7837f482af /gcc/ada | |
parent | 386d9c5719c64ff748fcdaa2c0b5452c2180cec7 (diff) | |
download | gcc-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/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/utils.c | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 5f234a2..315472e 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2011-05-05 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (begin_subprog_body): Do not call + get_pending_sizes. + (end_subprog_body): Likewise. + 2011-05-04 Richard Guenther <rguenther@suse.de> * gcc-interface/trans.c (gnat_to_gnu): Remove zero notrunc argument to diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index 2e81c18..57a62ab 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -1954,11 +1954,6 @@ begin_subprog_body (tree subprog_decl) DECL_CONTEXT (param_decl) = subprog_decl; make_decl_rtl (subprog_decl); - - /* We handle pending sizes via the elaboration of types, so we don't need to - save them. This causes them to be marked as part of the outer function - and then discarded. */ - get_pending_sizes (); } /* Finish the definition of the current subprogram BODY and finalize it. */ @@ -1973,10 +1968,6 @@ end_subprog_body (tree body) DECL_INITIAL (fndecl) = current_binding_level->block; gnat_poplevel (); - /* We handle pending sizes via the elaboration of types, so we don't - need to save them. */ - get_pending_sizes (); - /* Mark the RESULT_DECL as being in this subprogram. */ DECL_CONTEXT (DECL_RESULT (fndecl)) = fndecl; |