This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42016] default initialization of derived type component not allowed in pure subroutine
- 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: 12 Nov 2009 11:21:17 -0000
- Subject: [Bug fortran/42016] default initialization of derived type component not allowed in pure subroutine
- References: <bug-42016-17129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2009-11-12 11:21 -------
I agree that there is a bug. Especially, that it works as use-/host-associated
TYPE declaration but not as local type declaration is wrong.
Based on your report and Bader's reply in comp.lang.fortran, I have already
filled a PR - though I forgot to reply and state this at the news group. As
there is already a report, I mark yours as duplicate of the other.
Thanks for reporting!
*** This bug has been marked as a duplicate of 42008 ***
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42016