diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-21 01:08:40 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-21 01:08:40 +0000 |
commit | 8543a44827ae51f7ae6f3ba02b9472746cbc825c (patch) | |
tree | 62f9209bb475165a417f48acb5220a1a6c098b40 /gcc/cfgloopmanip.c | |
parent | 749ea85f0162cbb4f17e2c28b779260bc3a6da36 (diff) | |
download | gcc-8543a44827ae51f7ae6f3ba02b9472746cbc825c.tar.gz |
* cfgloopmanip.c (add_loop, duplicate_loop): Do not set level
of the loop.
* cfgloop.c (flow_loop_level_compute, flow_loops_level_compute):
Removed.
(flow_loop_dump): Do not dump loop level.
(flow_loops_find): Do not call flow_loops_level_compute.
* cfgloop.h (struct loop): Remove level field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119040 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r-- | gcc/cfgloopmanip.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index edb36976cc8..028db02afe3 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -379,7 +379,6 @@ add_loop (struct loops *loops, struct loop *loop, struct loop *outer) /* Add it to loop structure. */ place_new_loop (loops, loop); flow_loop_tree_node_add (outer, loop); - loop->level = 1; /* Find its nodes. */ bbs = XCNEWVEC (basic_block, n_basic_blocks); @@ -653,10 +652,7 @@ duplicate_loop (struct loops *loops, struct loop *loop, struct loop *target) cloop = XCNEW (struct loop); place_new_loop (loops, cloop); - /* Initialize copied loop. */ - cloop->level = loop->level; - - /* Set it as copy of loop. */ + /* Mark the new loop as copy of LOOP. */ loop->copy = cloop; /* Add it to target. */ |