[Bug fortran/34053] -frecursive: No need to use the stack for local variables of the main program

2009-05-26 Thread burnus at gcc dot gnu dot org
--- 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

[Bug fortran/34053] -frecursive: No need to use the stack for local variables of the main program

2009-05-25 Thread burnus at gcc dot gnu dot org
--- 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 === ---

[Bug fortran/34053] -frecursive: No need to use the stack for local variables of the main program

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug fortran/34053] -frecursive: No need to use the stack for local variables of the main program

2007-11-10 Thread burnus at gcc dot gnu dot org
--- 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)