[Bug fortran/41556] Errors in applying operator/assignment to an abstract type
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 5 11:53:00 GMT 2009
------- Comment #5 from janus at gcc dot gnu dot org 2009-11-05 11:52 -------
r153934 fixes the third error message in comment #0. The output for the test
case is now:
c0.f90:34.14:
operand = operand*scale ! preferred implementation
1
Error: Operands of binary numeric operator '*' at (1) are CLASS(object)/REAL(4)
c0.f90:35.4:
operand = operand%product(scale) ! alternate implementation
1
Error: Variable must not be polymorphic in assignment at (1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41556
More information about the Gcc-bugs
mailing list