Skip to content

Commit 776a742

Browse files
author
rguenth
committed
2018-03-23 Richard Biener <[email protected]>
PR debug/85020 * dwarf2out.c (rtl_for_decl_location): Do not generate RTL early when we are going to emit early debug for LTO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258798 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 9002011 commit 776a742

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

gcc/ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2018-03-23 Richard Biener <[email protected]>
2+
3+
PR debug/85020
4+
* dwarf2out.c (rtl_for_decl_location): Do not generate RTL early when
5+
we are going to emit early debug for LTO.
6+
17
2018-03-23 Jakub Jelinek <[email protected]>
28

39
PR inline-asm/85034

gcc/dwarf2out.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19878,6 +19878,7 @@ rtl_for_decl_location (tree decl)
1987819878
in the current CU, resolve_addr will remove the expression referencing
1987919879
it. */
1988019880
if (rtl == NULL_RTX
19881+
&& !(early_dwarf && (flag_generate_lto || flag_generate_offload))
1988119882
&& VAR_P (decl)
1988219883
&& !DECL_EXTERNAL (decl)
1988319884
&& TREE_STATIC (decl)

0 commit comments

Comments
 (0)