aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/typeck.c
diff options
context:
space:
mode:
authorMichael Meissner <michael.meissner@amd.com>2007-12-10 23:39:31 +0000
committerMichael Meissner <michael.meissner@amd.com>2007-12-10 23:39:31 +0000
commitf21b5e210f61f94fac714f78a2aeb21cce282f7c (patch)
treed6f8bb83944901f02e4ea6bea604efcb5ea0a838 /gcc/cp/typeck.c
parent3b4f67c0aef762937b12ddff85c9e3c0b5a5f446 (diff)
Merge up to revision 130757ix86/gcc-4_2-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ix86/gcc-4_2-branch@130759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/typeck.c')
-rw-r--r--gcc/cp/typeck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index c98775eeff8..9e8ca6eabe1 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -1795,7 +1795,7 @@ build_class_member_access_expr (tree object, tree member,
warn_deprecated_use (member);
}
else
- member_scope = BINFO_TYPE (BASELINK_BINFO (member));
+ member_scope = BINFO_TYPE (BASELINK_ACCESS_BINFO (member));
/* If MEMBER is from an anonymous aggregate, MEMBER_SCOPE will
presently be the anonymous union. Go outwards until we find a
type related to OBJECT_TYPE. */