OSDN Git Service

* cp-tree.h (VFIELD_NAME_FORMAT) [NO_DOLLAR_IN_LABEL &&
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Oct 2001 21:19:34 +0000 (21:19 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Oct 2001 21:19:34 +0000 (21:19 +0000)
NO_DOT_IN_LABEL]: Adjust to match VFIELD_NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46293 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index 1cb628d..42609eb 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cp-tree.h (VFIELD_NAME_FORMAT) [NO_DOLLAR_IN_LABEL &&
+       NO_DOT_IN_LABEL]: Adjust to match VFIELD_NAME.
+
 2001-10-15  Richard Sandiford  <rsandifo@redhat.com>
 
        * pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
index 34ef95a..e65a4de 100644 (file)
@@ -3167,7 +3167,7 @@ extern varray_type local_classes;
 #define VFIELD_NAME_P(ID_NODE) \
   (!strncmp (IDENTIFIER_POINTER (ID_NODE), VFIELD_NAME, \
            sizeof (VFIELD_NAME) - 1))
-#define VFIELD_NAME_FORMAT "_vptr_%s"
+#define VFIELD_NAME_FORMAT "__vptr_%s"
 #define STATIC_NAME_FORMAT "__static_%s_%s"
 
 #define ANON_AGGRNAME_PREFIX "__anon_"