[Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 27 23:53:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list