aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-in.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-09-18 11:28:20 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-09-18 11:28:20 +0000
commita3d09469041ab66ee1e12c2f3e4de33c4bf96732 (patch)
tree80d05780dc10b58f50e9e42a859ba010e37929be /gcc/lto-streamer-in.c
parent01b57ebf58b8cc0d16db827d1d9aa5f10da23cce (diff)
downloadgcc-a3d09469041ab66ee1e12c2f3e4de33c4bf96732.zip
gcc-a3d09469041ab66ee1e12c2f3e4de33c4bf96732.tar.gz
gcc-a3d09469041ab66ee1e12c2f3e4de33c4bf96732.tar.bz2
re PR lto/91763 (go.go-torture/execute/printnil.go FAILs)
2019-09-18 Richard Biener <rguenther@suse.de> PR lto/91763 * lto-streamer-in.c (input_eh_regions): Move EH init to lto_materialize_function. * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): Likewise. lto/ * lto.c (lto_materialize_function): Initialize EH by looking at the function personality and flag_exceptions setting. From-SVN: r275872
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r--gcc/lto-streamer-in.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c
index 3158edd..32b5d5f 100644
--- a/gcc/lto-streamer-in.c
+++ b/gcc/lto-streamer-in.c
@@ -615,11 +615,6 @@ input_eh_regions (class lto_input_block *ib, class data_in *data_in,
lto_tag_check_range (tag, LTO_eh_table, LTO_eh_table);
- /* If the file contains EH regions, then it was compiled with
- -fexceptions. In that case, initialize the backend EH
- machinery. */
- lto_init_eh ();
-
gcc_assert (fn->eh);
root_region = streamer_read_hwi (ib);