diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-05-31 17:38:35 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-05-31 17:38:35 +0200 |
commit | 90a7788bbc9890f681aa8434a861d88c3a9eb815 (patch) | |
tree | df14b009ae81deca2b86203a098a50621e0bf602 /gcc/expr.c | |
parent | 1e2c0906eeaf6050034a17d06c9d40c16a3f29cd (diff) | |
download | gcc-90a7788bbc9890f681aa8434a861d88c3a9eb815.zip gcc-90a7788bbc9890f681aa8434a861d88c3a9eb815.tar.gz gcc-90a7788bbc9890f681aa8434a861d88c3a9eb815.tar.bz2 |
re PR tree-optimization/44182 (-fcompare-debug failure (length) with -O1)
PR tree-optimization/44182
* tree-inline.c (copy_edges_for_bb): Don't split bb if a stmt that
newly needs to end a bb is followed by debug stmts, instead return
true from the function at the end.
(maybe_move_debug_stmts_to_successors): New function.
(copy_cfg_body): Call it if copy_edges_for_bb returned true.
* g++.dg/debug/pr44182.C: New test.
From-SVN: r160074
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions