This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/72832] [OOP] ALLOCATE with SOURCE fails to allocate requested dimensions
- From: "daanvanvugt at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Aug 2016 11:39:25 +0000
- Subject: [Bug fortran/72832] [OOP] ALLOCATE with SOURCE fails to allocate requested dimensions
- Auto-submitted: auto-generated
- References: <bug-72832-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72832
--- Comment #5 from Daan van Vugt <daanvanvugt at gmail dot com> ---
Thanks for the quick responses.
Just out of interest: what is the recommended way to allocate a class(t)
variable of the same type as a but different size?
Do I need to select type and list all of the types? that would be inconvenient.