diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-11-06 13:21:51 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-11-06 13:21:51 +0000 |
commit | 4a4b6c4c277f17b2f33c6c6828a906c028d8a0b6 (patch) | |
tree | f82c03681afd524bd201e90cf7dd5b870573c584 /gcc/tree-cfg.c | |
parent | c9aa6b940fb8c010ffbba8a6a2eb3ce1de21389f (diff) | |
download | gcc-4a4b6c4c277f17b2f33c6c6828a906c028d8a0b6.zip gcc-4a4b6c4c277f17b2f33c6c6828a906c028d8a0b6.tar.gz gcc-4a4b6c4c277f17b2f33c6c6828a906c028d8a0b6.tar.bz2 |
Fix transform_to_exit_first_loop_alt with -g
2015-11-06 Tom de Vries <tom@codesourcery.com>
* tree-cfg.c (gimple_split_block_before_cond_jump): Split before
cond_jump, instead of split after last nondebug insn before cond_jump.
* tree-parloops.c (transform_to_exit_first_loop_alt): Verify ssa before
returning.
From-SVN: r229847
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index cfed3c2..5d98eec 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -5783,7 +5783,7 @@ gimple_split_block_before_cond_jump (basic_block bb) if (gimple_code (last) != GIMPLE_COND && gimple_code (last) != GIMPLE_SWITCH) return NULL; - gsi_prev_nondebug (&gsi); + gsi_prev (&gsi); split_point = gsi_stmt (gsi); return split_block (bb, split_point)->dest; } |