diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-30 13:37:04 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-30 13:37:04 +0000 |
commit | 97505ac3dcb755ae4f7f6516c72db06a80802a4a (patch) | |
tree | 00062bd31fab13f69f230175a5cf2ce8ee0d9e68 | |
parent | 911ed8af530b1df9d2efa07963192efe3a244926 (diff) | |
download | ppe42-gcc-97505ac3dcb755ae4f7f6516c72db06a80802a4a.tar.gz ppe42-gcc-97505ac3dcb755ae4f7f6516c72db06a80802a4a.zip |
* config/darwin.c (machopic_function_base_name):
Remove current_name and getting the name of the
current function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80085 138bc75d-0d04-0410-961f-82ee72b054a4
-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 3c67253a007..2ef034877dc 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 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 = |