PR rtl-optimization/85393
commit12ef5aa2e5c05047eff074ede0ed3d2ec155f4b3
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2018 19:55:15 +0000 (13 19:55 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2018 19:55:15 +0000 (13 19:55 +0000)
tree7f4ab9bb1912581694938de5c77978fedb10f791
parent48dcb21f365955c0dce9abdd31684bd131b08e0f
PR rtl-optimization/85393
* except.h (expand_dw2_landing_pad_for_region): Remove declaration.
* except.c (expand_dw2_landing_pad_for_region): Make static.
* bb-reorder.c (fix_up_crossing_landing_pad): In new_bb emit just
a label and unconditional jump to old_bb, rather than
expand_dw2_landing_pad_for_region insn(s) and jump to single_succ
basic block.

* g++.dg/opt/pr85393.C: New test.
* g++.dg/opt/pr85393-aux.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259378 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/bb-reorder.c
gcc/except.c
gcc/except.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr85393-aux.cc [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/pr85393.C [new file with mode: 0644]