diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/c-semantics.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 760dd95..19e50ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index 8f08ff3..2ee2647 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -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); |