From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30379 invoked by alias); 29 Aug 2005 13:18:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 30366 invoked by uid 48); 29 Aug 2005 13:18:27 -0000 Date: Mon, 29 Aug 2005 13:19:00 -0000 Message-ID: <20050829131827.30365.qmail@sourceware.org> From: "rakdver at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050829115425.23622.rakdver@gcc.gnu.org> References: <20050829115425.23622.rakdver@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/23622] Dom jump threading at -O1 confuses branch prediction X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg03305.txt.bz2 List-Id: ------- Additional Comments From rakdver at gcc dot gnu dot org 2005-08-29 13:18 ------- Sorry, I have simplified the testcase and only looked at the dom1 dump. You need the following testcase to reproduce the problem (for the second loop): void foo (void) { int i; for (i = 0; i < 100; i++) something (); for (i = 0; i < 100; i++) something (); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23622