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/41556] Errors in applying operator/assignment to an abstract type



------- Comment #6 from janus at gcc dot gnu dot org  2009-11-05 13:43 -------
(In reply to comment #5)
>     operand = operand%product(scale)  ! alternate implementation
>     1
> Error: Variable must not be polymorphic in assignment at (1)

This error message has been added in r152919, as a fix for PR41719. In
principle it should only apply to intrinsic assignments (cf. F03 standard,
section 7.4.1.2), but it falsely rejects the defined assignment in the test
case.


-- 


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


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