aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>1999-12-04 11:07:07 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>1999-12-04 11:07:07 +0000
commitb760c4b1478efa55eae9e0d216bd100036cef2ef (patch)
tree4eea8330f22b73ee1759d82639627dfe89da7322 /gcc
parent0de2d85cacfb973a3ae05670470d173f6ff42f46 (diff)
downloadgcc-b760c4b1478efa55eae9e0d216bd100036cef2ef.zip
gcc-b760c4b1478efa55eae9e0d216bd100036cef2ef.tar.gz
gcc-b760c4b1478efa55eae9e0d216bd100036cef2ef.tar.bz2
flow.c (flow_loops_dump): Add missing argument when calling flow_loop_nested_p.
* flow.c (flow_loops_dump): Add missing argument when calling flow_loop_nested_p. From-SVN: r30773
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/flow.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5e5489a..96e2f05 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * flow.c (flow_loops_dump): Add missing argument when calling
+ flow_loop_nested_p.
+
1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
Greg McGary <gkm@gnu.org>
diff --git a/gcc/flow.c b/gcc/flow.c
index f147b7e..25bf2e2 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -6459,7 +6459,8 @@ flow_loops_dump (loops, file, verbose)
/* If the union of LOOP and OLOOP is different than
the larger of LOOP and OLOOP then LOOP and OLOOP
must be disjoint. */
- disjoint = ! flow_loop_nested_p (smaller ? loop : oloop);
+ disjoint = ! flow_loop_nested_p (smaller ? loop : oloop,
+ smaller ? oloop : loop);
fprintf (file, ";; loop header %d shared by loops %d, %d"
" %s\n",
loop->header->index, i, j,