error.c (print_whitespace): Remove.

cp:
	* error.c (print_whitespace): Remove.
	* g++spec.c (LIBUNWIND): Move.
	* mangle.c (mangled_position, write_signed_number): Remove.

From-SVN: r55760
This commit is contained in:
Neil Booth 2002-07-25 21:13:36 +00:00 committed by Neil Booth
parent cad2c6b662
commit 81a1552d66
4 changed files with 9 additions and 18 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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))

View File

@ -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

View File

@ -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)