Skip to content
Snippets Groups Projects
Commit be6c7554 authored by Martin Liska's avatar Martin Liska
Browse files

lto: do not load LTO stream for aliases [PR107418]

	PR lto/107418

gcc/lto/ChangeLog:

	* lto-dump.cc (lto_main): Do not load LTO stream for aliases.
parent bfb7994a
No related branches found
No related tags found
No related merge requests found
......@@ -347,7 +347,8 @@ lto_main (void)
/* Dump gimple statement statistics. */
cgraph_node *node;
FOR_EACH_DEFINED_FUNCTION (node)
node->get_untransformed_body ();
if (!node->alias)
node->get_untransformed_body ();
if (!GATHER_STATISTICS)
warning_at (input_location, 0,
"Not configured with "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment