From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9238 invoked by alias); 11 Dec 2010 10:46:43 -0000 Received: (qmail 9229 invoked by uid 22791); 11 Dec 2010 10:46:43 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_TM 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; Sat, 11 Dec 2010 10:46:38 +0000 From: "davek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/29710] gnat ICEs on -fprefetch-loop-arrays -O1. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: davek 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: --- 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 Date: Sat, 11 Dec 2010 10:46:00 -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 X-SW-Source: 2010-12/txt/msg01180.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29710 --- Comment #7 from Dave Korn 2010-12-11 10:46:22 UTC --- (In reply to comment #6) > Although I haven't verified that this is the same as the original problem > report, it really looks like it, modulo various changes to the compiler's > internals since 4.2; in particular, > > (In reply to comment #4) > > (gdb) p current_stmt_group > > $6 = (struct stmt_group *) 0x0 > > ... that looks like that null third argument causing problems to me. Ah, but there was no integer_three_node back then and builtin_expect only used to take two args at the time. So it can't be the same thing after all.