2018-03-23 Richard Biener <rguenther@suse.de>
PR debug/85020
* dwarf2out.c (rtl_for_decl_location): Do not generate RTL early when
we are going to emit early debug for LTO.
From-SVN: r258798
+2018-03-23 Richard Biener <rguenther@suse.de>
+
+ PR debug/85020
+ * dwarf2out.c (rtl_for_decl_location): Do not generate RTL early when
+ we are going to emit early debug for LTO.
+
2018-03-23 Jakub Jelinek <jakub@redhat.com>
PR inline-asm/85034
in the current CU, resolve_addr will remove the expression referencing
it. */
if (rtl == NULL_RTX
+ && !(early_dwarf && (flag_generate_lto || flag_generate_offload))
&& VAR_P (decl)
&& !DECL_EXTERNAL (decl)
&& TREE_STATIC (decl)