From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4007 invoked by alias); 27 Dec 2004 23:53:26 -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 3968 invoked by uid 48); 27 Dec 2004 23:53:23 -0000 Date: Mon, 27 Dec 2004 23:53:00 -0000 Message-ID: <20041227235323.3967.qmail@sourceware.org> From: "rakdver at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041221112045.19103.bero@arklinux.org> References: <20041221112045.19103.bero@arklinux.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg03673.txt.bz2 List-Id: ------- Additional Comments From rakdver at gcc dot gnu dot org 2004-12-27 23:53 ------- Actually it is even more stupid. Patch below, just testing. Index: loop-iv.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/loop-iv.c,v retrieving revision 2.25 diff -c -3 -p -r2.25 loop-iv.c *** loop-iv.c 18 Dec 2004 20:14:24 -0000 2.25 --- loop-iv.c 27 Dec 2004 23:52:38 -0000 *************** iv_number_of_iterations (struct loop *lo *** 2132,2138 **** if (iv0.step == const0_rtx) step_val = -INTVAL (iv1.step); else ! step_val = INTVAL (iv1.step); /* Ignore loops of while (i-- < 10) type. */ if (step_val < 0) --- 2132,2138 ---- if (iv0.step == const0_rtx) step_val = -INTVAL (iv1.step); else ! step_val = INTVAL (iv0.step); /* Ignore loops of while (i-- < 10) type. */ if (step_val < 0) -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103