This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Mar 2011 08:39:59 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-48011-4@http.gcc.gnu.org/bugzilla/>
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 ***