[lno] Fix bootstrap on ppc
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Sun Jan 25 00:13:00 GMT 2004
Hello,
my attempt to fix the problem in the doloop was obviously bogus,
since loop->scan_start is always set; this one should be a bit better,
but probably still not quite correct. Does not matter, current doloop will
disappear from the lno branch completely next week.
Zdenek
Index: doloop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doloop.c,v
retrieving revision 1.19.2.9.4.1
diff -c -3 -p -r1.19.2.9.4.1 doloop.c
*** doloop.c 4 Jan 2004 20:28:42 -0000 1.19.2.9.4.1
--- doloop.c 24 Jan 2004 23:57:52 -0000
*************** doloop_optimize (const struct loop *loop
*** 786,792 ****
if (n_iterations)
{
/* See the comment in doloop_modify_runtime. */
! if (loop->scan_start)
n_iterations += loop_info->unroll_number;
/* This is the simple case where the initial and final loop
--- 786,792 ----
if (n_iterations)
{
/* See the comment in doloop_modify_runtime. */
! if (loop->top)
n_iterations += loop_info->unroll_number;
/* This is the simple case where the initial and final loop
More information about the Gcc-patches
mailing list