* varpool.c (varpool_node::get_constructor): Return early
if this->lto_file_data is NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220810
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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);