[Bug fortran/48699] [OOP] MOVE_ALLOC inside SELECT TYPE
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat May 21 19:51:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48699
--- Comment #9 from janus at gcc dot gnu.org 2011-05-21 19:33:32 UTC ---
r174001 fixes the test cases in comment #1 and #4.
The test case in comment #0 still fails. Reduced version:
program testmv1
type bar
end type
type, extends(bar) :: bar2
end type
class(bar), allocatable :: sm
type(bar2), allocatable :: sm2
allocate(sm2)
call move_alloc(sm2,sm)
end program
/tmp/ccSfRlZ5.o:(.data+0x38): undefined reference to `__copy_testmv1_Bar2.1582'
More information about the Gcc-bugs
mailing list