* c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
authorJason Merrill <jason@redhat.com>
Tue, 7 Aug 2001 11:21:24 +0000 (07:21 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 7 Aug 2001 11:21:24 +0000 (07:21 -0400)
From-SVN: r44684

gcc/ChangeLog
gcc/c-semantics.c

index 760dd9574d06bd301e69cf0667ec3be01ba1d65d..19e50caf64c73b6a309d3821365a8b111d4e7b8a 100644 (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.
 
index 8f08ff38938058441db79a248d0c62b2ca0e1585..2ee2647e14ed4b5f230433f126c63e0efc0d2ee4 100644 (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);