This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.
- From: "toon at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Dec 2011 18:26:08 +0000
- Subject: [Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.
- Auto-submitted: auto-generated
- References: <bug-51310-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310
--- Comment #7 from toon at gcc dot gnu.org 2011-12-15 18:26:08 UTC ---
Author: toon
Date: Thu Dec 15 18:26:02 2011
New Revision: 182384
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182384
Log:
2011-12-15 Toon Moene <toon@moene.org>
PR fortran/51310
* resolve.c (build_default_init_expr): Allow non-allocatable,
non-compile-time-constant-shape arrays to have a default
initializer.
* invoke.texi: Delete the restriction on automatic arrays not
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/invoke.texi
trunk/gcc/fortran/resolve.c