[Bug fortran/48011] internal compiler error:tree check: expected function_type or method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 7 08:40:00 GMT 2011


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



More information about the Gcc-bugs mailing list