This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi all,
Here's a patch to fix the OpenMP issue with local arrays being
allocated statically, as discussed here:
http://gcc.gnu.org/ml/fortran/2007-08/msg00000.html
I also added an '-frecursive' flag, which sets max_stack_var_size to -1.
-Asher
:ADDPATCH fortran:
2007-08-15 Asher Langton <langton2@llnl.gov>
* gfortran.h (gfc_option_t): Add flag_recursive.
* lang.opt: Add -frecursive option and update -fopenmp.
* invoke.texi: Document new option.
* options.c (gfc_init_options, gfc_post_options,
gfc_handle_option): Add -frecursive and modify -fopenmp.
2007-08-15 Asher Langton <langton2@llnl.gov>
* gfortran.dg/recursive_stack.f90: New.
* gfortran.dg/openmp_stack.f90: New.
Attachment:
gfc070815_125412.diff
Description: Binary data
Attachment:
openmp_stack.f90
Description: Binary data
Attachment:
recursive_stack.f90
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |