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

           Summary: [4.6 Regression] ICE in gfc_add_component_ref, at
                    fortran/class.c:77
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: anl...@gmx.de


Created attachment 21876
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21876
Reduced example

Hi all,

very recently the attached code broke, leading to:

 gfcbug110.f90:56.16:

       p2 =>    v%inquire_inner_product()
                1
Error: Type mismatch in argument 'this' at (1); passed CLASS(vector_class) to
CLASS(gradient_class)
gfcbug110.f90:33:0: internal compiler error: in gfc_add_component_ref, at
fortran/class.c:77


The code compiles fine with 4.5, nagfor 5.2, xlf 13.

Cheers,
-ha

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to