public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48011] New: internal compiler error:tree check: expected function_type or method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355
@ 2011-03-06 21:25 dominique.pelletier at polymtl dot ca
  2011-03-06 22:20 ` [Bug fortran/48011] " dominiq at lps dot ens.fr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dominique.pelletier at polymtl dot ca @ 2011-03-06 21:25 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: internal compiler error:tree check: expected
                    function_type or method_type, have pointer_type in
                    gimplify_call_expr at gimplify.c:2355
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominique.pelletier@polymtl.ca


Created attachment 23563
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23563
code from D Rouson from Sandia. uses som abstract data type...

i got the attached Fortran 2003 program from Damien Rouson at Sandia.
it compiled and executed correctly with IBM xlf compiler and the CRAY compile.

with gfortran < i got the following error message from the compiler:

in function 'integrate':
ex1.f0:72:0: internal compiler error: tree check: expected function_type or
method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355



Thank you for you help

Dominique Pelletier


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [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
  2011-03-06 21:25 [Bug fortran/48011] New: internal compiler error:tree check: expected function_type or method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355 dominique.pelletier at polymtl dot ca
@ 2011-03-06 22:20 ` dominiq at lps dot ens.fr
  2011-03-07  3:22 ` jvdelisle at gcc dot gnu.org
  2011-03-07  8:40 ` janus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-03-06 22:20 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janus at gcc dot gnu.org

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-03-06 22:20:46 UTC ---
This looks like a duplicate of pr46262 (cc Janus).


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [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
  2011-03-06 21:25 [Bug fortran/48011] New: internal compiler error:tree check: expected function_type or method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355 dominique.pelletier at polymtl dot ca
  2011-03-06 22:20 ` [Bug fortran/48011] " dominiq at lps dot ens.fr
@ 2011-03-07  3:22 ` jvdelisle at gcc dot gnu.org
  2011-03-07  8:40 ` janus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-03-07  3:22 UTC (permalink / raw)
  To: gcc-bugs

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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot
                   |                            |gnu.org
           Severity|blocker                     |normal

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-03-07 03:21:36 UTC ---
Fortran bugs are never considered blocker which refers to blocking gcc itself


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [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
  2011-03-06 21:25 [Bug fortran/48011] New: internal compiler error:tree check: expected function_type or method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355 dominique.pelletier at polymtl dot ca
  2011-03-06 22:20 ` [Bug fortran/48011] " dominiq at lps dot ens.fr
  2011-03-07  3:22 ` jvdelisle at gcc dot gnu.org
@ 2011-03-07  8:40 ` janus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: janus at gcc dot gnu.org @ 2011-03-07  8:40 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-07  8:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-06 21:25 [Bug fortran/48011] New: internal compiler error:tree check: expected function_type or method_type, have pointer_type in gimplify_call_expr at gimplify.c:2355 dominique.pelletier at polymtl dot ca
2011-03-06 22:20 ` [Bug fortran/48011] " dominiq at lps dot ens.fr
2011-03-07  3:22 ` jvdelisle at gcc dot gnu.org
2011-03-07  8:40 ` janus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).