Commit cbf6ad9d by Martin Liska Committed by Martin Liska

Do not allow to run GIMPLE or RTL test-cases w/ LTO (PR lto/79625).

2017-02-28  Martin Liska  <mliska@suse.cz>

	PR lto/79625
	* read-rtl-function.c (function_reader::handle_unknown_directive):
	Bail out when one uses -flto.

From-SVN: r245790
parent 9453ba0a
2017-02-28 Martin Liska <mliska@suse.cz>
PR lto/79625
* read-rtl-function.c (function_reader::handle_unknown_directive):
Bail out when one uses -flto.
2017-02-28 Martin Liska <mliska@suse.cz>
* common.opt: Replace space with tabular for options of <number>
type.
* config/i386/i386.opt: Show <number> value for
......
......@@ -405,6 +405,9 @@ function_reader::handle_unknown_directive (file_location start_loc,
if (strcmp (name, "function"))
fatal_at (start_loc, "expected 'function'");
if (flag_lto)
error ("%<__RTL%> function cannot be compiled with %<-flto%>");
parse_function ();
}
......
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