diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-01 00:38:38 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-01 00:38:38 +0000 |
commit | cfa4c52fb5d47e1d8cddc5c490e0e70f34ef3e6c (patch) | |
tree | 11be711913612228df3a6979d2909f5aa10224d3 /gcc/fortran | |
parent | 4f0bebe385764188e5621ac2b3d96c250555af80 (diff) | |
download | ppe42-gcc-cfa4c52fb5d47e1d8cddc5c490e0e70f34ef3e6c.tar.gz ppe42-gcc-cfa4c52fb5d47e1d8cddc5c490e0e70f34ef3e6c.zip |
* tree.h (immediate_size_expand): Delete.
* stor-layout.c (immediate_size_expand): Delete.
(variable_size): Don't look at it.
* c-decl.c (push_parm_decl): Don't frob immediate_size_expand.
(start_function): Likewise.
* cfgexpand.c (construct_exit_block): Likewise.
* function.c (init_function_start, expand_function_end): Likewise.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
cp/
* decl.c (start_preparsed_function): Don't set immediate_size_expand.
* method.c (use_thunk): Likewise.
fortran/
* trans-decl.c (gfc_generate_function_code): Don't set
immediate_size_expand.
(gfc_generate_constructors): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83946 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/trans-decl.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8e65b697e04..d19b4f5083d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2004-06-30 Richard Henderson <rth@redhat.com> + + * trans-decl.c (gfc_generate_function_code): Don't set + immediate_size_expand. + (gfc_generate_constructors): Likewise. + 2004-06-30 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> PR fortran/16161 diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index e6424671680..0b09555e611 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -2035,7 +2035,6 @@ gfc_generate_function_code (gfc_namespace * ns) 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. */ - immediate_size_expand = 0; cfun->x_dont_save_pending_sizes_p = 1; /* Will be created as needed. */ @@ -2191,8 +2190,6 @@ gfc_generate_constructors (void) cfun->x_whole_function_mode_p = 1; - immediate_size_expand = 0; - pushlevel (0); for (; gfc_static_ctors; gfc_static_ctors = TREE_CHAIN (gfc_static_ctors)) |