diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-03-30 13:37:04 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-03-30 05:37:04 -0800 |
commit | 9ffab06b25e310701c8fd82d2c65e265b49ba299 (patch) | |
tree | 00062bd31fab13f69f230175a5cf2ce8ee0d9e68 /gcc | |
parent | a2246edceffe24dc9aa8cebd10f5d3bd6d23e558 (diff) | |
download | gcc-9ffab06b25e310701c8fd82d2c65e265b49ba299.zip gcc-9ffab06b25e310701c8fd82d2c65e265b49ba299.tar.gz gcc-9ffab06b25e310701c8fd82d2c65e265b49ba299.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/darwin.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c67253..2ef0348 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-30 Andrew Pinski <pinskia@physics.uc.edu> + + * config/darwin.c (machopic_function_base_name): + Remove current_name and getting the name of the + current function. + 2004-03-30 Nick Clifton <nickc@redhat.com> * config/arm/arm.md (thumb_jump): Reduce the backward branch diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index dec2eb7..f6e29b8 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 = |