From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13437 invoked by alias); 13 Dec 2011 09:18:22 -0000 Received: (qmail 13427 invoked by uid 22791); 13 Dec 2011 09:18:22 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Dec 2011 09:18:09 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/51520] [4.6 Regression] ICE in gfortran 4.6.2, x86_64 Date: Tue, 13 Dec 2011 09:19: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-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.3 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2011-12/txt/msg01329.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51520 --- Comment #2 from Tobias Burnus 2011-12-13 09:18:04 UTC --- (In reply to comment #0) > valgrind output: > ==18442== by 0x52BD26: traverse_ns (symbol.c:3333) (In reply to comment #1) > The ICE seems to have been fixed on trunk between revisions 180989 (ICE) > and 181881 (OK). One possibility could be: r181232 | burnus | 2011-11-09 20:36:54 +0100 (Wed, 09 Nov 2011) | 7 lines * symbol.c (clear_sym_mark, traverse_ns): Remove functions. (count_st_nodes, do_traverse_symtree, fill_st_vector): New functions. (gfc_traverse_symtree, gfc_traverse_ns): Call do_traverse_symtree. At least I hope for some smaller patch than the big constructor patch (Rev. 181425). Dominique: Any chance that you could bisect the 4.7 trunk to find the patch which fixes the ICE? If not, I can do so later. (You might want to use --disable-bootstrap --disable-build-poststage1-with-cxx and not building C++ to speed up the bisecting.)