From 43a613f7a264b67cdf1fadaf57315dd2374697dc Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Wed, 15 Dec 2004 21:18:42 +0000 Subject: cfgloop.c (flow_loops_dump): Don't print out levels. 2004-12-15 Daniel Berlin * cfgloop.c (flow_loops_dump): Don't print out levels. (flow_loops_find): Don't set loop->levels. (flow_loops_level_compute): Make void. * cfgloop.h (struct loops): Remove levels member. Add comment about loops in parray possibly being NULL. From-SVN: r92222 --- gcc/cfgloop.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/cfgloop.h') diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 9df217e..1562736 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -217,16 +217,16 @@ struct loops /* Number of natural loops in the function. */ unsigned num; - /* Maximum nested loop level in the function. */ - unsigned levels; - /* Array of natural loop descriptors (scanning this array in reverse order will find the inner loops before their enclosing outer loops). */ struct loop *array; /* The above array is unused in new loop infrastructure and is kept only for purposes of the old loop optimizer. Instead we store just pointers to - loops here. */ + loops here. + Note that a loop in this array may actually be NULL, if the loop + has been removed and the entire loops structure has not been + recomputed since that time. */ struct loop **parray; /* Pointer to root of loop hierarchy tree. */ -- cgit v1.1