[Bug fortran/63205] [OOP] Wrongly rejects type = class (for identical declared type)
paul.richard.thomas at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 28 21:57:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63205
paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul.richard.thomas at gmail dot c
| |om
--- Comment #3 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> ---
Created attachment 33834
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33834&action=edit
Very deficient, first order patch
The attached is deficient in a number of ways:
(i) It will not work with a dynamic type result != declared type
(ii) The block in trans-array.c:2549-2560 needs to be moved to somewhere more
appropriate
(iii) Find out why info->delta[] is not set
(iv) dynamic types with allocatable components will have to have those
components deallocated (use _copy with default_init?)
Apart from that, it's a start :-)
Paul
More information about the Gcc-bugs
mailing list