aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r--gcc/c-semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index fb669b3..2e0d537 100644
--- a/gcc/c-semantics.c
+++ b/gcc/c-semantics.c
@@ -96,7 +96,7 @@ make_rtl_for_local_static (decl)
/* If we inlined this variable, we could see it's declaration
again. */
- if (DECL_RTL (decl))
+ if (TREE_ASM_WRITTEN (decl))
return;
if (DECL_ASSEMBLER_NAME (decl) != DECL_NAME (decl))