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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from janus at gcc dot gnu.org 2011-03-07 08:39:23 UTC ---
(In reply to comment #1)
> This looks like a duplicate of pr46262 (cc Janus).

Yes, it is in fact a duplicate of this PR. It is even derived from the same
code. The problem is this line:

model = model + d_dt(model)*dt   ! Explicit Euler formula

"+" and "*" here are user-defined polymorphic operators, and "d_dt" has a
polymorphic result. For properly generating the type-bound calls to the two
operators, we need to insert temporaries for the passed objects. This does not
work currently.

*** This bug has been marked as a duplicate of bug 46262 ***

Reply via email to