--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-26 19:29 ---
s/main_program/is_main_program/
CLOSE as WONTFIX. As Andrew pointed out, there are a couple of issues using
static memory:
1. The middle end does not optimize static variables that well as it does not
know about
--- Comment #3 from burnus at gcc dot gnu dot org 2009-05-25 23:02 ---
The following should be enough. gfc_can_put_var_on_stack is also called
elsewhere but those calls shouldn't matter so much.
Index: trans-decl.c
===
---
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 04:38 ---
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from burnus at gcc dot gnu dot org 2007-11-10 19:23 ---
As follow up, currently -frecursive is implemented as:
/* Implied -frecursive; implemented as -fmax-stack-var-size=-1. */
if (gfc_option.flag_max_stack_var_size == -2 gfc_option.flag_openmp)