diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-05 08:27:42 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-05 08:27:42 +0000 |
commit | 7f22d3eb894a8ed08b306716f51fa2a2edce5570 (patch) | |
tree | a4fb73d73167a62705c8b5d09a9f888794473e63 /gcc/cp | |
parent | e66decee5786348ae80245d450bede100fb64eaf (diff) | |
download | ppe42-gcc-7f22d3eb894a8ed08b306716f51fa2a2edce5570.tar.gz ppe42-gcc-7f22d3eb894a8ed08b306716f51fa2a2edce5570.zip |
* class.c (end_of_class): Correct thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/class.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a449b428d43..a57faa906c4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-03-05 Mark Mitchell <mark@codesourcery.com> + + * class.c (end_of_class): Correct thinko. + 2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org> * config-lang.in: Replace ${libstdcxx_version} by its value. diff --git a/gcc/cp/class.c b/gcc/cp/class.c index a12fd73ae17..433e4266cba 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -4647,7 +4647,7 @@ end_of_class (tree t, int include_virtuals_p) if (!include_virtuals_p && TREE_VIA_VIRTUAL (binfo) - && !BINFO_PRIMARY_P (binfo)) + && BINFO_PRIMARY_BASE_OF (binfo) != TYPE_BINFO (t)) continue; offset = end_of_base (binfo); |