Commit 192f8da5 by Richard Guenther Committed by Richard Biener

re PR lto/44150 (g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o)

2010-11-15  Richard Guenther  <rguenther@suse.de>

	PR lto/44150
	* lto-opts.c (lto_write_options): Write -fexceptions even if
	not set by the user.

From-SVN: r166744
parent db710796
2010-11-15 Richard Guenther <rguenther@suse.de>
PR lto/44150
* lto-opts.c (lto_write_options): Write -fexceptions even if
not set by the user.
2010-11-13 Paolo Bonzini <bonzini@gnu.org> 2010-11-13 Paolo Bonzini <bonzini@gnu.org>
PR c/46462 PR c/46462
...@@ -299,6 +299,13 @@ lto_write_options (void) ...@@ -299,6 +299,13 @@ lto_write_options (void)
struct lto_simple_header header; struct lto_simple_header header;
struct lto_output_stream *header_stream; struct lto_output_stream *header_stream;
/* Targets and languages can provide defaults for -fexceptions but
we only process user options from the command-line. Until we
serialize out a white list of options from the new global state
explicitly append important options as user options here. */
if (flag_exceptions)
lto_register_user_option (OPT_fexceptions, NULL, 1, CL_COMMON);
lto_begin_section (section_name, !flag_wpa); lto_begin_section (section_name, !flag_wpa);
free (section_name); free (section_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment