aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-04-13 21:55:15 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-04-13 21:55:15 +0200
commit465d00877e3d96ff827f02a699e7398ef62bef67 (patch)
tree7f4ab9bb1912581694938de5c77978fedb10f791 /gcc/except.h
parent9b91582429ca0b78f235e3c11b809a861b3d0f19 (diff)
downloadgcc-465d00877e3d96ff827f02a699e7398ef62bef67.zip
gcc-465d00877e3d96ff827f02a699e7398ef62bef67.tar.gz
gcc-465d00877e3d96ff827f02a699e7398ef62bef67.tar.bz2
re PR rtl-optimization/85393 (Miscompilation with hot/cold partitioning starting with r254832)
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. From-SVN: r259378
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/except.h b/gcc/except.h
index 229e446..caa375e 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -243,7 +243,6 @@ extern rtx expand_builtin_dwarf_sp_column (void);
extern void expand_builtin_eh_return (tree, tree);
extern void expand_eh_return (void);
extern rtx expand_builtin_extend_pointer (tree);
-extern void expand_dw2_landing_pad_for_region (eh_region);
typedef tree (*duplicate_eh_regions_map) (tree, void *);
extern hash_map<void *, void *> *duplicate_eh_regions