From a3d09469041ab66ee1e12c2f3e4de33c4bf96732 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 18 Sep 2019 11:28:20 +0000 Subject: re PR lto/91763 (go.go-torture/execute/printnil.go FAILs) 2019-09-18 Richard Biener 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 --- gcc/lto-streamer-in.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gcc/lto-streamer-in.c') 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); -- cgit v1.1