[Bug fortran/41951] [OOP] ICE in gfc_match_varspec, at fortran/primary.c:1815

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 5 22:15:00 GMT 2009



------- Comment #3 from tkoenig at gcc dot gnu dot org  2009-12-05 22:14 -------
Reduced test case, from c2.f90:

module m_sort
  implicit none
  type, abstract :: sort_t
  contains
    procedure(gt_cmp), deferred :: gt_cmp
  end type sort_t
contains
  subroutine bsort(a)
    class(sort_t), intent(inout) :: a(:)
    if (a(1)%gt_cmp(a(2))) then ! ICE
    end if
  end subroutine bsort
end module m_sort


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-05 22:14:52
               date|                            |


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



More information about the Gcc-bugs mailing list