diff options
author | Bingfeng Mei <bmei@broadcom.com> | 2010-07-19 09:18:14 +0000 |
---|---|---|
committer | Bingfeng Mei <meibf@gcc.gnu.org> | 2010-07-19 09:18:14 +0000 |
commit | 0be955e73751c1ffc6468d6a9679201103a21718 (patch) | |
tree | 97adf2164166d6402d0e329bf597c0ea2e666e05 /gcc/ddg.c | |
parent | 9005471b8382cc019ccd189b51ef7422027735f7 (diff) | |
download | gcc-0be955e73751c1ffc6468d6a9679201103a21718.zip gcc-0be955e73751c1ffc6468d6a9679201103a21718.tar.gz gcc-0be955e73751c1ffc6468d6a9679201103a21718.tar.bz2 |
ddg.c (create_ddg): Exclude nodes of debug_insn in counting nodes of a loop.
2010-07-19 Bingfeng Mei <bmei@broadcom.com>
* ddg.c (create_ddg): Exclude nodes of debug_insn in counting nodes
of a loop.
* loop-doloop.c (doloop_condition_get): Skip possible debug_insn.
From-SVN: r162300
Diffstat (limited to 'gcc/ddg.c')
-rw-r--r-- | gcc/ddg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -488,7 +488,7 @@ create_ddg (basic_block bb, int closing_branch_deps) } /* There is nothing to do for this BB. */ - if (num_nodes <= 1) + if ((num_nodes - g->num_debug) <= 1) { free (g); return NULL; |