From 95ee998ceb1d196000e2cb4e61b760d818119dee Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sun, 23 Jul 2000 19:59:41 +0000 Subject: c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN to figure out whether or not a variable has already been... * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN to figure out whether or not a variable has already been emitted. * decl.c (make_rtl_for_nonlocal_decl): Rework. * pt.c (lookup_template_class): Ensure that TYPE_CONTEXT is set correctly. From-SVN: r35215 --- gcc/c-semantics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/c-semantics.c') diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index fb669b33d4b..2e0d537f1ae 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)) -- cgit v1.2.1