public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/35830]  New: ICE with PROCEDURE(<interface>)
Date: Sat, 05 Apr 2008 08:14:00 -0000	[thread overview]
Message-ID: <bug-35830-13404@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2008-04-05  8:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-05  8:14 burnus at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-35830-13404@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).