pr44182.C
304 Bytes
-
re PR tree-optimization/44182 (-fcompare-debug failure (length) with -O1) · 90a7788b
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
Jakub Jelinek committed