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
+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>
if (strcmp (name, "function"))
fatal_at (start_loc, "expected 'function'");
+ if (flag_lto)
+ error ("%<__RTL%> function cannot be compiled with %<-flto%>");
+
parse_function ();
}