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/34558] New: Regression 4.3: ICE with same TYPE in both program and interface Date: Sat, 22 Dec 2007 19:14:00 -0000 [thread overview] Message-ID: <bug-34558-13404@http.gcc.gnu.org/bugzilla/> (raw) The following program uses an excessive amount of memory, which causes the segmentation fault. valgrind shows: ==27188== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==27188== Access not within mapped region at address 0x7FE001700 ==27188== at 0x427539: gfc_compare_derived_types (interface.c:365) ==27188== Invalid write of size 8 ==27188== at 0x4A1E348: _vgnU_freeres (in /usr/lib64/valgrind/amd64-linux/vgpreload_core.so) ==27188== Address 0x7fe001f70 is on thread 1's stack ==27188== Stack overflow in thread 1: can't grow stack to 0x7FE001F70 ! Regression. ICE on valid code. ! The following works with 4.1.3 and 4.2.2, but fails ! (segmentation fault) with 4.3.0. ! ! Found using the Fortran Company Fortran 90 Test Suite (Lite), ! Version 1.4 program error implicit none type node sequence type(node), pointer :: next end type type(node), pointer :: list interface subroutine insert(ptr) implicit none type node sequence type(node), pointer :: next end type type(node), pointer :: ptr end subroutine insert end interface allocate (list); end program error -- Summary: Regression 4.3: ICE with same TYPE in both program and interface Product: gcc Version: 4.3.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 OtherBugsDependingO 32834 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34558
next reply other threads:[~2007-12-22 19:14 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-12-22 19:14 burnus at gcc dot gnu dot org [this message] 2007-12-23 11:42 ` [Bug fortran/34558] " dfranke at gcc dot gnu dot org 2007-12-26 1:20 ` [Bug fortran/34558] [4.3 Regression]: " pinskia 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-34558-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: linkBe 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).