This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41556] Errors in applying operator/assignment to an abstract type
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2009 11:52:57 -0000
- Subject: [Bug fortran/41556] Errors in applying operator/assignment to an abstract type
- References: <bug-41556-15301@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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