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/48011] internal compiler error:tree check: expected function_type or method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355


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


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