------- Comment #3 from janus at gcc dot gnu dot org 2009-11-04 19:55 -------
The commit in comment #2 contains the patchlet from comment #1 and fixes the
first of the error messages in comment #0.
At this point, the test case still triggers three error messages:
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.14:
operand = operand%product(scale) ! alternate implementation
1
Error: ABSTRACT INTERFACE 'product_interface' must not be referenced at (1)
c0.f90:35.14:
operand = operand%product(scale) ! alternate implementation
1
Error: ABSTRACT INTERFACE 'product_interface' must not be referenced at (1)
The last two also appear in PR 41873.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41556