summaryrefslogtreecommitdiffstats
path: root/gcc/cfgloop.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-18 14:53:22 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-18 14:53:22 +0000
commitb4d679c5b869e0fc502f52ebe9cdad005abdf6a4 (patch)
treec61bed670f141899264617e9cb2ab256ed672221 /gcc/cfgloop.c
parent864ff138140369df94447edfbcfdbab9715b6078 (diff)
downloadppe42-gcc-b4d679c5b869e0fc502f52ebe9cdad005abdf6a4.tar.gz
ppe42-gcc-b4d679c5b869e0fc502f52ebe9cdad005abdf6a4.zip
* cfgloop.c (flow_loop_nested_p): Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84896 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r--gcc/cfgloop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index 7709a03b2ab..c71d048828a 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -101,7 +101,8 @@ flow_loop_nested_p (const struct loop *outer, const struct loop *loop)
&& loop->pred[outer->depth] == outer;
}
-/* Returns superloop of LOOP at given DEPTH. */
+/* Returns the loop such that LOOP is nested DEPTH (indexed from zero)
+ loops within LOOP. */
struct loop *
superloop_at_depth (struct loop *loop, unsigned depth)
OpenPOWER on IntegriCloud