diff options
author | kan <kan@FreeBSD.org> | 2002-09-17 04:03:37 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2002-09-17 04:03:37 +0000 |
commit | 366976642281939a5ef910427ef046ec6f72af8a (patch) | |
tree | 142ed567a01fe5d8a2452c34837343fe24fa825a /contrib/gcc/cp/cp-lang.c | |
parent | e921678e240f578a38fecb6143e3cdd2b0494996 (diff) | |
download | FreeBSD-src-366976642281939a5ef910427ef046ec6f72af8a.zip FreeBSD-src-366976642281939a5ef910427ef046ec6f72af8a.tar.gz |
Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on 16-Sep-2002 13:23:11 EDT.
Diffstat (limited to 'contrib/gcc/cp/cp-lang.c')
-rw-r--r-- | contrib/gcc/cp/cp-lang.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/contrib/gcc/cp/cp-lang.c b/contrib/gcc/cp/cp-lang.c index 7b1d860..b573cce 100644 --- a/contrib/gcc/cp/cp-lang.c +++ b/contrib/gcc/cp/cp-lang.c @@ -122,14 +122,8 @@ cp_expr_size (exp) { if (CLASS_TYPE_P (TREE_TYPE (exp))) { - /* The backend should not be interested in the size of an expression - of a type with both of these set; all copies of such types must go - through a constructor or assignment op. */ - if (TYPE_HAS_COMPLEX_INIT_REF (TREE_TYPE (exp)) - && TYPE_HAS_COMPLEX_ASSIGN_REF (TREE_TYPE (exp))) - abort (); - /* This would be wrong for a type with virtual bases, but they are - caught by the abort above. */ + /* This would be wrong for a type with virtual bases, but they should + not get here. */ return CLASSTYPE_SIZE_UNIT (TREE_TYPE (exp)); } else |