From: Andrew Pinski Date: Tue, 30 Mar 2004 13:37:04 +0000 (+0000) Subject: darwin.c (machopic_function_base_name): Remove current_name and getting the name... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ffab06b25e310701c8fd82d2c65e265b49ba299;p=gcc.git darwin.c (machopic_function_base_name): Remove current_name and getting the name of the current function. * config/darwin.c (machopic_function_base_name): Remove current_name and getting the name of the current function. From-SVN: r80085 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c67253a007..2ef034877dc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-30 Andrew Pinski + + * config/darwin.c (machopic_function_base_name): + Remove current_name and getting the name of the + current function. + 2004-03-30 Nick Clifton * config/arm/arm.md (thumb_jump): Reduce the backward branch diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index dec2eb72a35..f6e29b8c96a 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -221,12 +221,9 @@ static GTY(()) char * function_base; const char * machopic_function_base_name (void) { - const char *current_name; /* if dynamic-no-pic is on, we should not get here */ if (MACHO_DYNAMIC_NO_PIC_P) abort (); - current_name = - IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)); if (function_base == NULL) function_base =