diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-19 18:54:44 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-19 18:54:44 +0000 |
commit | 738afe39e847380d8db6d3d38af1c9b392abb987 (patch) | |
tree | 87e0bca439aa9c3eede052c05bebd84e9756863d /gcc/loop.h | |
parent | 9d60df18f0f7893afe7937d46dd3184944d60b8f (diff) | |
download | gcc-738afe39e847380d8db6d3d38af1c9b392abb987.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/loop.h b/gcc/loop.h index 8a92a321185..25c16f0d89b 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. */ |