aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-04-24 08:01:33 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-04-24 08:01:33 +0000
commit0162f1556ef63ae13060047d897329d1724faf91 (patch)
treea3f07e9622c348e31d3885aafeb0686cbfe9e81d /gcc/cfgloop.h
parent7e1584f82dcb1d1a2953381a16542772ab4f5adf (diff)
downloadgcc-0162f1556ef63ae13060047d897329d1724faf91.zip
gcc-0162f1556ef63ae13060047d897329d1724faf91.tar.gz
gcc-0162f1556ef63ae13060047d897329d1724faf91.tar.bz2
cfgloop.h (struct loops): Remove unused field array.
2006-04-24 Richard Guenther <rguenther@suse.de> * cfgloop.h (struct loops): Remove unused field array. Reorder state after num. (LOOP_PREFETCH): Remove. From-SVN: r113217
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 3309e0f..9805d4c 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -149,13 +149,10 @@ struct loops
/* Number of natural loops in the function. */
unsigned num;
- /* Array of natural loop descriptors (scanning this array in reverse order
- will find the inner loops before their enclosing outer loops). */
- struct loop *array;
+ /* State of loops. */
+ int state;
- /* 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.
+ /* We store just pointers to 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. */
@@ -177,9 +174,6 @@ struct loops
/* Headers shared by multiple loops that should be merged. */
sbitmap shared_headers;
-
- /* State of loops. */
- int state;
};
/* The loop tree currently optimized. */
@@ -408,9 +402,4 @@ extern void doloop_optimize_loops (struct loops *);
extern void move_loop_invariants (struct loops *);
extern void record_estimate (struct loop *, tree, tree, tree);
-/* Old loop optimizer interface. */
-
-/* Flags passed to loop_optimize. */
-#define LOOP_PREFETCH 1
-
#endif /* GCC_CFGLOOP_H */