diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7153d67ad3a3..394ae4fd4426 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-11-20 Marek Polacek + + * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Fix typo. + 2014-11-20 Andrew Stubbs * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 8ba365c4f343..d17227f955e9 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -3417,7 +3417,7 @@ maybe_lower_iteration_bound (struct loop *loop) } } - if (exit_warned && !problem_stmts.empty ()) + if (exit_warned && !problem_stmts.is_empty ()) { gimple stmt; int index;