From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19693 invoked by alias); 5 Dec 2014 08:46:48 -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 19093 invoked by uid 48); 5 Dec 2014 08:46:40 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/53379] [4.8/4.9/5 Regression] No backtrace generated for array bounds violation Date: Fri, 05 Dec 2014 08:46: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.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-12/txt/msg00530.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53379 --- Comment #17 from Joost VandeVondele --- (In reply to Harald Anlauf from comment #16) > (In reply to Joost VandeVondele from comment #15) > > While if we use -fsanitize=address (at greatly increased cost), we actually > > get a Christmas tree with losts of colourful lights: > > I cannot use ASAN on any of the servers at work, as the > administrators enforce strict limits on virtual memory. > (See also PR 55517 on ASAN). Sure, and one of the strong points of Fortran is that bounds checking works so well, at a very low runtime cost... so replacing it with asan is not a general purpose solution. I believe your proposed patch in comment #1 is at least a reasonable partial fix.