* c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.

From-SVN: r44684
This commit is contained in:
Jason Merrill 2001-08-07 07:21:24 -04:00 committed by Jason Merrill
parent 1b81b7891b
commit 45dcf5727c
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2001-08-07 Jason Merrill <jason_merrill@redhat.com>
* c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
* alias.c (get_alias_set): Return a previously calculated
alias set for a VAR_DECL.

View File

@ -243,7 +243,7 @@ make_rtl_for_local_static (decl)
already create RTL, which means that the modification to
DECL_ASSEMBLER_NAME came only via the explicit extension. */
if (DECL_ASSEMBLER_NAME (decl) != DECL_NAME (decl)
&& !DECL_RTL (decl))
&& !DECL_RTL_SET_P (decl))
asmspec = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
rest_of_decl_compilation (decl, asmspec, /*top_level=*/0, /*at_end=*/0);