summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/loop-invariant.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d21bd43537..39e912c5619 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * loop-invariant.c (find_invariants_to_move): Add missing macro
+ argument.
+
2007-08-17 Tom Tromey <tromey@redhat.com>
* tree.h (struct tree_label_decl): Removed old "java" fields.
diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c
index 25d36b191e1..ebd3810ace8 100644
--- a/gcc/loop-invariant.c
+++ b/gcc/loop-invariant.c
@@ -1123,7 +1123,7 @@ find_invariants_to_move (void)
{
unsigned i, regs_used, regs_needed = 0, new_regs;
struct invariant *inv = NULL;
- unsigned int n_regs = DF_REG_SIZE ();
+ unsigned int n_regs = DF_REG_SIZE (df);
if (!VEC_length (invariant_p, invariants))
return;