Commit 0d0e2af6 by Paulo Matos Committed by Paulo Matos

* cfgloop.h (number_of_loops): Fix typo in check for null.

From-SVN: r202975
parent d02dae41
2013-09-27 Paulo Matos <pmatos@broadcom.com>
* cfgloop.h (number_of_loops): Fix typo in check for null.
2013-09-27 Jakub Jelinek <jakub@redhat.com>
PR middle-end/58551
......
......@@ -515,7 +515,7 @@ static inline unsigned
number_of_loops (struct function *fn)
{
struct loops *loops = loops_for_fn (fn);
if (!fn)
if (!loops)
return 0;
return vec_safe_length (loops->larray);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment