This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37835] -fno-automatic does not work for derived types with default initalizer
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2008 09:41:29 -0000
- Subject: [Bug fortran/37835] -fno-automatic does not work for derived types with default initalizer
- References: <bug-37835-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from burnus at gcc dot gnu dot org 2008-10-16 09:41 -------
Hmm, maybe the wording could (should?) be changed to make clear that for
subroutine sub(n)
integer n
real automatic_data_object(n)
end subroutine sub
the automatic_data_object gets no SAVE with -fno-automatic. (It doesn't and I
have no idea how it could, but seemingly one can read the option such that it
would.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37835