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 #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


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