[Bug fortran/46897] defined ASSIGNMENT(=) not used for derived type component
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 13 09:08:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46897
--- Comment #4 from janus at gcc dot gnu.org 2010-12-13 09:07:43 UTC ---
(In reply to comment #3)
> Actually, I am less and less sure that this is a wrong-code issue.
I'm also a bit skeptical that this really is a bug. One should check the
standard.
> For
>
> type(t) :: infant, newchild
> infant = newchild
>
> one has the type "T" but the defined assignment is for "component". If one
> compiles the program in comment 2, none of my compilers uses the defined
> assignment.
Not even IBM?
If one doesn't use the defined assignment in comment #2, I don't see why one
should do so in comment #0.
More information about the Gcc-bugs
mailing list