This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/43412] [OOP] BT_CLASS does not does not set array spec


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]