Commit 176ca71c by Jakub Jelinek Committed by Jakub Jelinek

re PR lto/65012 (systemd fails to build at least on ppc64el, powerpc,…

re PR lto/65012 (systemd fails to build at least on ppc64el, powerpc, arm-inux-gnueabihf and aarch64 with -flto (ICE))

	PR lto/65012
	* varpool.c (varpool_node::get_constructor): Return early
	if this->lto_file_data is NULL.

From-SVN: r220810
parent 696d5fa1
2015-02-19 Jakub Jelinek <jakub@redhat.com>
PR lto/65012
* varpool.c (varpool_node::get_constructor): Return early
if this->lto_file_data is NULL.
2015-02-19 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
* haifa-sched.c (enum rfs_decision, rfs_str): Remove RFS_DEBUG.
......
......@@ -303,7 +303,8 @@ varpool_node::get_constructor (void)
size_t len;
if (DECL_INITIAL (decl) != error_mark_node
|| !in_lto_p)
|| !in_lto_p
|| !lto_file_data)
return DECL_INITIAL (decl);
timevar_push (TV_IPA_LTO_CTORS_IN);
......
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