public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/59016] New: f951: internal compiler error: Segmentation fault
@ 2013-11-06  8:48 Joost.VandeVondele at mat dot ethz.ch
  2013-11-17 19:09 ` [Bug fortran/59016] " janus at gcc dot gnu.org
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2013-11-06  8:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59016
           Summary: f951: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Joost.VandeVondele at mat dot ethz.ch

gcc version 4.9.0 20131106 (experimental) [trunk revision 204433] (GCC)  yields
the following internal compiler error:

f951: internal compiler error: Segmentation fault
0x9fee4f crash_signal
    ../../gcc/gcc/toplev.c:334
0x5ed8f9 gfc_sym_get_dummy_args(gfc_symbol*)
    ../../gcc/gcc/fortran/symbol.c:4572
0x5c73e1 resolve_fl_procedure
    ../../gcc/gcc/fortran/resolve.c:10971
0x5c73e1 resolve_symbol
    ../../gcc/gcc/fortran/resolve.c:13301
0x5e6233 do_traverse_symtree
    ../../gcc/gcc/fortran/symbol.c:3571
0x5d1477 resolve_types
    ../../gcc/gcc/fortran/resolve.c:14475
0x5c5aa3 gfc_resolve
    ../../gcc/gcc/fortran/resolve.c:14572
0x5c5aa3 gfc_resolve(gfc_namespace*)
    ../../gcc/gcc/fortran/resolve.c:14560
0x5bb30a gfc_parse_file()
    ../../gcc/gcc/fortran/parse.c:4672
0x5f9c65 gfc_be_parse_file
    ../../gcc/gcc/fortran/f95-lang.c:189
Please submit a full bug report,

when compiling the invalid code below with

gfortran -c  -cpp bug.f90

> cat bug.f90
MODULE atomic_kind_types
  PUBLIC :: atomic_kind_type,&
            dft_plus_u_type
CONTAINS
  SUBROUTINE get_atomic_kind_set(atomic_kind_set,maxatom,maxcgf,&
       zetsoft_max,basis_set_id)
       CALL stop_program(routineN,moduleN,__LINE__,&
            "The pointer atomic_kind_set is not associated")
  END SUBROUTINE get_atomic_kind_set
  PURE FUNCTION is_hydrogen(atomic_kind) RESULT(res)
    TYPE(atomic_kind_type), POINTER          :: atomic_kind
  END FUNCTION is_hydrogen
END MODULE atomic_kind_types

It appears to be some corruption of some kind, since just compiling with
gfortran -c bug.f90 does not ICE, instead contains some garbage string in the
error message:

1
Error: Procedure '��XS0' in generic interface 'atomic_kind_type' at (1) is
neither function nor subroutine

Running under valgrind might help.
>From gcc-bugs-return-433691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 06 08:51:20 2013
Return-Path: <gcc-bugs-return-433691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22732 invoked by alias); 6 Nov 2013 08:51:20 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21786 invoked by uid 48); 6 Nov 2013 08:49:18 -0000
From: "lailavrazda1979 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57926] Atomic functions broken with C++ but not C?
Date: Wed, 06 Nov 2013 08:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lailavrazda1979 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amacleod at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57926-4-BtAFRAeWtv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57926-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57926-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg00468.txt.bz2
Content-length: 137

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW926

--- Comment #10 from lailavrazda1979 at gmail dot com ---
Is this going to be fixed?


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

end of thread, other threads:[~2015-04-14 12:49 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-06  8:48 [Bug fortran/59016] New: f951: internal compiler error: Segmentation fault Joost.VandeVondele at mat dot ethz.ch
2013-11-17 19:09 ` [Bug fortran/59016] " janus at gcc dot gnu.org
2013-12-21 19:35 ` bdavis at gcc dot gnu.org
2013-12-21 19:49 ` dominiq at lps dot ens.fr
2013-12-21 19:50 ` dominiq at lps dot ens.fr
2014-12-06 10:07 ` Joost.VandeVondele at mat dot ethz.ch
2015-03-29 20:38 ` drikosev at otenet dot gr
2015-03-29 22:02 ` drikosev at otenet dot gr
2015-04-03 13:49 ` dominiq at lps dot ens.fr
2015-04-03 17:01 ` drikosev at otenet dot gr
2015-04-04  9:02 ` dominiq at lps dot ens.fr
2015-04-04  9:31 ` dominiq at lps dot ens.fr
2015-04-04  9:41 ` drikosev at otenet dot gr
2015-04-04 10:47 ` drikosev at otenet dot gr
2015-04-05  9:19 ` drikosev at otenet dot gr
2015-04-05 11:50 ` dominiq at lps dot ens.fr
2015-04-05 13:03 ` dominiq at lps dot ens.fr
2015-04-05 14:37 ` dominiq at lps dot ens.fr
2015-04-05 16:37 ` drikosev at otenet dot gr
2015-04-05 16:42 ` dominiq at lps dot ens.fr
2015-04-05 19:13 ` drikosev at otenet dot gr
2015-04-05 23:23 ` drikosev at otenet dot gr
2015-04-06 19:14 ` dominiq at lps dot ens.fr
2015-04-06 21:26 ` dominiq at lps dot ens.fr
2015-04-07 18:57 ` jvdelisle at gcc dot gnu.org
2015-04-08  7:54 ` drikosev at otenet dot gr
2015-04-10 11:30 ` mikael at gcc dot gnu.org
2015-04-14  9:18 ` mikael at gcc dot gnu.org
2015-04-14 12:24 ` mikael at gcc dot gnu.org
2015-04-14 12:42 ` mikael at gcc dot gnu.org
2015-04-14 12:43 ` mikael at gcc dot gnu.org
2015-04-14 12:44 ` mikael at gcc dot gnu.org
2015-04-14 12:49 ` mikael 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).