diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-25 21:13:36 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-25 21:13:36 +0000 |
commit | 67e693c88745f2ba773ff8173661a26e09a2e1c1 (patch) | |
tree | 852a4bc6bcf17cb8a1a20e074c870899e047faa1 | |
parent | cfae74214c1137dde8eb7d82de351e11b7ca5d0e (diff) | |
download | ppe42-gcc-67e693c88745f2ba773ff8173661a26e09a2e1c1.tar.gz ppe42-gcc-67e693c88745f2ba773ff8173661a26e09a2e1c1.zip |
cp:
* error.c (print_whitespace): Remove.
* g++spec.c (LIBUNWIND): Move.
* mangle.c (mangled_position, write_signed_number): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55760 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/error.c | 5 | ||||
-rw-r--r-- | gcc/cp/g++spec.c | 7 | ||||
-rw-r--r-- | gcc/cp/mangle.c | 9 |
4 files changed, 9 insertions, 18 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 79a59c422e5..4ee3d41a48a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,11 @@ 2002-07-25 Neil Booth <neil@daikokuya.co.uk> + * error.c (print_whitespace): Remove. + * g++spec.c (LIBUNWIND): Move. + * mangle.c (mangled_position, write_signed_number): Remove. + +2002-07-25 Neil Booth <neil@daikokuya.co.uk> + * decl2.c (cxx_decode_option): Similarly. 2002-07-25 Gabriel Dos Reis <gdr@nerim.net> diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 8bef22c4536..3a8f5e0041c 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -45,11 +45,6 @@ enum pad { none, before, after }; print_non_consecutive_character ((BUFFER), '<') #define print_template_argument_list_end(BUFFER) \ print_non_consecutive_character ((BUFFER), '>') -#define print_whitespace(BUFFER, TFI) \ - do { \ - output_add_space (BUFFER); \ - put_whitespace (TFI) = none; \ - } while (0) #define print_tree_identifier(BUFFER, TID) \ output_add_string ((BUFFER), IDENTIFIER_POINTER (TID)) #define print_identifier(BUFFER, ID) output_add_string ((BUFFER), (ID)) diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c index 4087e4ae1c4..706b9697ca3 100644 --- a/gcc/cp/g++spec.c +++ b/gcc/cp/g++spec.c @@ -43,10 +43,6 @@ Boston, MA 02111-1307, USA. */ #define LIBSTDCXX_PROFILE "-lstdc++" #endif -#ifndef LIBUNWIND -#define LIBUNWIND "-lunwind" -#endif - void lang_specific_driver (in_argc, in_argv, in_added_libraries) int *in_argc; @@ -277,6 +273,9 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) arglist[j++] = saw_profile_flag ? LIBSTDCXX_PROFILE : LIBSTDCXX; added_libraries++; #ifdef USE_LIBUNWIND_EXCEPTIONS +# ifndef LIBUNWIND +# define LIBUNWIND "-lunwind" +# endif arglist[j++] = LIBUNWIND; added_libraries++; #endif diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index fc92d6ee23f..ed6c547f475 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -214,11 +214,6 @@ static void write_java_integer_type_codes PARAMS ((tree)); #define write_string(STRING) \ obstack_grow (&G.name_obstack, (STRING), strlen (STRING)) -/* Return the position at which the next character will be appended to - the mangled representation. */ -#define mangled_position() \ - obstack_object_size (&G.name_obstack) - /* Non-zero if NODE1 and NODE2 are both TREE_LIST nodes and have the same purpose (context, which may be a type) and value (template decl). See write_template_prefix for more information on what this @@ -231,10 +226,6 @@ static void write_java_integer_type_codes PARAMS ((tree)); || TREE_PURPOSE (NODE1) == TREE_PURPOSE (NODE2)) \ && TREE_VALUE (NODE1) == TREE_VALUE (NODE2)) -/* Write out a signed quantity in base 10. */ -#define write_signed_number(NUMBER) \ - write_number ((NUMBER), /*unsigned_p=*/0, 10) - /* Write out an unsigned quantity in base 10. */ #define write_unsigned_number(NUMBER) \ write_number ((NUMBER), /*unsigned_p=*/1, 10) |