[Bug fortran/55765] Remaining issues with unlimited polymorphic (CLASS(*))

2015-11-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55765

Paul Thomas  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 CC||vehre at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #3 from Paul Thomas  ---
As far as I can see, Andre has fixed this with the addition of the 'len' field
for unlimited polymorphic objects.

  character(:), target, allocatable :: chr
  class(*), pointer :: ptr

  chr = "hello"
  ptr => chr
  call foo

  chr = "goodbye"
  ptr => chr
  call foo
contains
  subroutine foo
select type (ptr)
  type is (character(*))
print *, ptr
end select
  end subroutine
end

works as expected and the output code looks fine.

Closing

Paul

[Bug fortran/55765] Remaining issues with unlimited polymorphic (CLASS(*))

2013-06-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55765

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2013-06-20
 Ever confirmed|0   |1

--- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr ---
Marked as ASSIGNED.


[Bug fortran/55765] Remaining issues with unlimited polymorphic (CLASS(*))

2012-12-21 Thread burnus at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55765



Tobias Burnus burnus at gcc dot gnu.org changed:



   What|Removed |Added



 CC||burnus at gcc dot gnu.org



--- Comment #1 from Tobias Burnus burnus at gcc dot gnu.org 2012-12-21 
10:52:51 UTC ---

One probably should audit all calls to gfc_find_derived_vtab whether also

CLASS(*) could occur in that context; e.g. TRANSFER comes into my mind.