]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
error.c (print_whitespace): Remove.
authorNeil Booth <neil@daikokuya.co.uk>
Thu, 25 Jul 2002 21:13:36 +0000 (21:13 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 25 Jul 2002 21:13:36 +0000 (21:13 +0000)
cp:
* error.c (print_whitespace): Remove.
* g++spec.c (LIBUNWIND): Move.
* mangle.c (mangled_position, write_signed_number): Remove.

From-SVN: r55760

gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/g++spec.c
gcc/cp/mangle.c

index 79a59c422e5284631d8385ba9a2a1201cdc73e63..4ee3d41a48a9e1a2e591abb0bd0ea05d5c17520a 100644 (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.
index 8bef22c45364ba6c86431b90842695ad1d814184..3a8f5e0041c07aca7f470ea74e0186148ee5935a 100644 (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))
index 4087e4ae1c4df1d572600b32aa8763e4e4f38e5b..706b9697ca3b95744af79107efbd6085a3c1d6f6 100644 (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
index fc92d6ee23f2c4a47d9af8ca20cd1e2b0cf7c586..ed6c547f475081184f1ec6398de7e4bd5718e787 100644 (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)