diff options
author | Jim Wilson <wilson@cygnus.com> | 1998-06-19 18:54:44 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1998-06-19 11:54:44 -0700 |
commit | 7e7ca3a1bd935133caa153c9c58c884641604959 (patch) | |
tree | 87e0bca439aa9c3eede052c05bebd84e9756863d /gcc/loop.h | |
parent | 643a7267dfd1aae8deee17a411747a3699ec2691 (diff) | |
download | gcc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |