aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-06-19 18:54:44 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-06-19 11:54:44 -0700
commit7e7ca3a1bd935133caa153c9c58c884641604959 (patch)
tree87e0bca439aa9c3eede052c05bebd84e9756863d /gcc/loop.h
parent643a7267dfd1aae8deee17a411747a3699ec2691 (diff)
downloadgcc-7e7ca3a1bd935133caa153c9c58c884641604959.zip
gcc-7e7ca3a1bd935133caa153c9c58c884641604959.tar.gz
gcc-7e7ca3a1bd935133caa153c9c58c884641604959.tar.bz2
Fix hpux loop unrolling bug reported by Tim Prince.
* loop.h (struct induction): Clarify comment for unrolled field. * unroll.c (find_splittable_givs): Move set of unrolled field after address validity check. From-SVN: r20598
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index 8a92a32..25c16f0 100644
--- a/gcc/loop.h
+++ b/gcc/loop.h
@@ -92,8 +92,8 @@ struct induction
would probably lose. */
unsigned auto_inc_opt : 1; /* 1 if this giv had its increment output next
to it to try to form an auto-inc address. */
- unsigned unrolled : 1; /* 1 if new register has been allocated in
- unrolled loop. */
+ unsigned unrolled : 1; /* 1 if new register has been allocated and
+ initialized in unrolled loop. */
unsigned shared : 1;
int lifetime; /* Length of life of this giv */
int times_used; /* # times this giv is used. */