This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43412] [OOP] BT_CLASS does not does not set array spec
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 Jan 2012 23:47:42 +0000
- Subject: [Bug fortran/43412] [OOP] BT_CLASS does not does not set array spec
- Auto-submitted: auto-generated
- References: <bug-43412-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43412
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-28 23:47:42 UTC ---
With trunk at revision 183668, compiling the test in comment #0 gives the error
[macbook] f90/bug% gfc pr43412.f90
pr43412.f90:8.27:
class(t), pointer :: y(*) ! <<< invalid
1
Error: Assumed size polymorphic objects or components, such as that at (1),
have not yet been implemented
while the test in comment #1 compiles without error. AFAIU this is the expected
behavior, isn't it?