summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-16 21:19:34 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-16 21:19:34 +0000
commitb5672762a40ffb394cc1594880982da4f87f0504 (patch)
tree8bd2b28be05e6b93f2efa28817eb966745417a1c
parent4bbe9a601a8b51f4227a4fbc6c646077a021b5af (diff)
downloadppe42-gcc-b5672762a40ffb394cc1594880982da4f87f0504.tar.gz
ppe42-gcc-b5672762a40ffb394cc1594880982da4f87f0504.zip
* cp-tree.h (VFIELD_NAME_FORMAT) [NO_DOLLAR_IN_LABEL &&
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
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/cp-tree.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1cb628dadc9..42609eb7164 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 34ef95a493a..e65a4de0be5 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -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_"
OpenPOWER on IntegriCloud