[Bug fortran/71523] Static variables given automatic initializers with -finit-* and -fmax-stack-var-size
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 17 20:14:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71523
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sun Jul 17 20:13:41 2016
New Revision: 238420
URL: https://gcc.gnu.org/viewcvs?rev=238420&root=gcc&view=rev
Log:
2016-07-17 Fritz Reese <fritzoreese@gmail.com>
PR fortran/71523
* trans-decl.c (gfc_finish_var_decl): Replace automatic initializer
with
a static one.
* gfortran.dg/pr71523_1.f90: New test.
* gfortran.dg/pr71523_2.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr71523_1.f90
trunk/gcc/testsuite/gfortran.dg/pr71523_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list