public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60356] New: Compiler segfault instead of error about module procedure / procedure with an explicit interface
@ 2014-02-27 12:08 mvondomaros at gmail dot com
  2014-02-27 12:08 ` [Bug fortran/60356] " mvondomaros at gmail dot com
  2014-02-27 20:27 ` janus at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: mvondomaros at gmail dot com @ 2014-02-27 12:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60356
           Summary: Compiler segfault instead of error about module
                    procedure / procedure with an explicit interface
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mvondomaros at gmail dot com

Hi!

The attached simple module causes a "f951: internal compiler error:
Segmentation fault".

When I comment out the generic statement as indicated in the code, I get the
expected error message: "Error: 'my_method1_sub' must be a module procedure or
an external procedure with an explicit interface at (1)"


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

* [Bug fortran/60356] Compiler segfault instead of error about module procedure / procedure with an explicit interface
  2014-02-27 12:08 [Bug fortran/60356] New: Compiler segfault instead of error about module procedure / procedure with an explicit interface mvondomaros at gmail dot com
@ 2014-02-27 12:08 ` mvondomaros at gmail dot com
  2014-02-27 20:27 ` janus at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mvondomaros at gmail dot com @ 2014-02-27 12:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Mike <mvondomaros at gmail dot com> ---
Created attachment 32223
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32223&action=edit
example that causes the segfault


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

* [Bug fortran/60356] Compiler segfault instead of error about module procedure / procedure with an explicit interface
  2014-02-27 12:08 [Bug fortran/60356] New: Compiler segfault instead of error about module procedure / procedure with an explicit interface mvondomaros at gmail dot com
  2014-02-27 12:08 ` [Bug fortran/60356] " mvondomaros at gmail dot com
@ 2014-02-27 20:27 ` janus at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: janus at gcc dot gnu.org @ 2014-02-27 20:27 UTC (permalink / raw)
  To: gcc-bugs

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |janus at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from janus at gcc dot gnu.org ---
I think this is a duplicate of PR 60231, which has recently been fixed on 4.8
and trunk.

*** This bug has been marked as a duplicate of bug 60231 ***


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

end of thread, other threads:[~2014-02-27 20:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27 12:08 [Bug fortran/60356] New: Compiler segfault instead of error about module procedure / procedure with an explicit interface mvondomaros at gmail dot com
2014-02-27 12:08 ` [Bug fortran/60356] " mvondomaros at gmail dot com
2014-02-27 20:27 ` 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).