From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24955 invoked by alias); 28 Sep 2014 21:48:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24924 invoked by uid 48); 28 Sep 2014 21:48:14 -0000 From: "bernd.edlinger at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/47674] gfortran.dg/realloc_on_assign_5.f03: Segfault at run time for deferred (allocatable) string length Date: Sun, 28 Sep 2014 21:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bernd.edlinger at hotmail dot de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: 2014-09/txt/msg02626.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47674 Bernd Edlinger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernd.edlinger at hotmail dot de --- Comment #8 from Bernd Edlinger --- Hmm..., I just noticed, that it also fails if MALLOC_CHECK_ is defined, although MALLOC_PERTURB_=237 without MALLOC_CHECK_ does nothing. $ gfortran realloc_on_assign_5.f03 $ MALLOC_CHECK_=3 ./a.out Program aborted. Backtrace: #0 0x7F46086BB307 #1 0x7F46086BC9E2 #2 0x7F460878E6D8 #3 0x400C0B in MAIN_