public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35830]  New: ICE with PROCEDURE(<interface>)
@ 2008-04-05  8:14 burnus at gcc dot gnu dot org
  2008-04-05 14:57 ` [Bug fortran/35830] ICE with PROCEDURE(<interface>) containing array formal arguments burnus at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-04-05  8:14 UTC (permalink / raw)
  To: gcc-bugs

The following program gives an ICE w/ 4.3.0 and 4.4.0.

ff.f90:9: internal compiler error: Segmentation fault

==29131== Invalid read of size 4
==29131==    at 0x4C0459: gfc_is_nodesc_array (trans-types.c:1031)
==29131==    by 0x4C2DE5: gfc_sym_type (trans-types.c:1576)
==29131==    by 0x4C2FD7: gfc_get_function_type (trans-types.c:2009)
==29131==    by 0x4C3023: gfc_get_function_type (trans-types.c:2005)

program test
  implicit none
  interface
    subroutine one(a)
      integer a(:)
    end subroutine one
  end interface
contains
  subroutine foo(f)
    procedure(one) :: f
  end subroutine foo
end program test


-- 
           Summary: ICE with PROCEDURE(<interface>)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-06-08  7:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-05  8:14 [Bug fortran/35830] New: ICE with PROCEDURE(<interface>) burnus at gcc dot gnu dot org
2008-04-05 14:57 ` [Bug fortran/35830] ICE with PROCEDURE(<interface>) containing array formal arguments burnus at gcc dot gnu dot org
2008-04-05 18:03 ` jaydub66 at gmail dot com
2008-04-06 12:45 ` fxcoudert at gcc dot gnu dot org
2008-04-07 22:02 ` jaydub66 at gmail dot com
2008-04-08  8:37 ` burnus at gcc dot gnu dot org
2008-04-09 18:49 ` jaydub66 at gmail dot com
2008-05-15 21:49 ` jaydub66 at gmail dot com
2008-05-28 21:29 ` janus at gcc dot gnu dot org
2008-05-28 21:35 ` janus at gcc dot gnu dot org
2008-05-31  9:17 ` janus at gcc dot gnu dot org
2008-06-02  8:45 ` burnus at gcc dot gnu dot org
2008-06-07 17:04 ` burnus at gcc dot gnu dot org
2008-06-07 17:31 ` burnus at gcc dot gnu dot org
2008-06-07 17:44 ` burnus at gcc dot gnu dot org
2008-06-08  7:50 ` burnus at gcc dot gnu dot org
2008-06-08  7:50 ` burnus at gcc dot gnu dot 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).