aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-09 16:55:03 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-09 16:55:03 +0000
commita457d98ca384b0d1e6442def496fa7acdc598570 (patch)
treea825b5044dfe87bd0dc1f2987fb891f208d9f291
parenteac02e59606def2611a7bc53ea29dbb28f860f1c (diff)
downloadgcc-a457d98ca384b0d1e6442def496fa7acdc598570.zip
gcc-a457d98ca384b0d1e6442def496fa7acdc598570.tar.gz
gcc-a457d98ca384b0d1e6442def496fa7acdc598570.tar.bz2
cp-tree.h (EXCEPTION_CLEANUP_NAME, [...]): Remove.
* cp-tree.h (EXCEPTION_CLEANUP_NAME, B_SET, B_CLR, B_TST, CONV_STATIC_CAST): Remove. From-SVN: r97908
-rw-r--r--gcc/cp/ChangeLog3
-rw-r--r--gcc/cp/cp-tree.h8
2 files changed, 3 insertions, 8 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 19ac5ed..ccb990a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -4,6 +4,9 @@
* cp-tree.h (DECL_ARRAY_DELETE_OPERATOR_P): Remove.
+ * cp-tree.h (EXCEPTION_CLEANUP_NAME, B_SET, B_CLR, B_TST,
+ CONV_STATIC_CAST): Remove.
+
2005-04-08 Ian Lance Taylor <ian@airs.com>
* cp-tree.def: Define FOR_STMT, WHILE_STMT, DO_STMT, BREAK_STMT,
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index b2c8e82..fdbfea5 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3245,8 +3245,6 @@ extern GTY(()) varray_type local_classes;
#define VTABLE_DELTA_NAME "__delta"
#define VTABLE_PFN_NAME "__pfn"
-#define EXCEPTION_CLEANUP_NAME "exception cleanup"
-
#if !defined(NO_DOLLAR_IN_LABEL) || !defined(NO_DOT_IN_LABEL)
#define VPTR_NAME_P(ID_NODE) (IDENTIFIER_POINTER (ID_NODE)[0] == JOINER \
@@ -3293,11 +3291,6 @@ extern GTY(()) tree static_dtors;
enum overload_flags { NO_SPECIAL = 0, DTOR_FLAG, OP_FLAG, TYPENAME_FLAG };
-/* Some macros for char-based bitfields. */
-#define B_SET(A,X) ((A)[(X)>>3] |= (1 << ((X)&7)))
-#define B_CLR(A,X) ((A)[(X)>>3] &= ~(1 << ((X)&7)))
-#define B_TST(A,X) ((A)[(X)>>3] & (1 << ((X)&7)))
-
/* These are uses as bits in flags passed to build_new_method_call
to control its error reporting behavior.
@@ -3365,7 +3358,6 @@ enum overload_flags { NO_SPECIAL = 0, DTOR_FLAG, OP_FLAG, TYPENAME_FLAG };
#define CONV_PRIVATE 16
/* #define CONV_NONCONVERTING 32 */
#define CONV_FORCE_TEMP 64
-#define CONV_STATIC_CAST (CONV_IMPLICIT | CONV_STATIC | CONV_FORCE_TEMP)
#define CONV_OLD_CONVERT (CONV_IMPLICIT | CONV_STATIC | CONV_CONST \
| CONV_REINTERPRET)
#define CONV_C_CAST (CONV_IMPLICIT | CONV_STATIC | CONV_CONST \