Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 22:31:29 -0400
From:      Alexander Kabaev <ak03@gte.com>
To:        michael@purplenake.com
Cc:        current@freebsd.org
Subject:   Re: Re: compiling kdelibs3 fails with -current's gcc 3.2
Message-ID:  <20020903023129.GA27379@kan.dnsalias.net>
In-Reply-To: <200209030217.WAA12235@www22.ureach.com>
References:  <200209030217.WAA12235@www22.ureach.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Where can I find this patch? I didn't see it in the message body or attached to any of your previous messages. 

Sorry,

apparently attachments are stripped now before being delivered
to the mailing lists. The patch is below:


Index: cp/cp-lang.c
===================================================================
RCS file: /home/ncvs/src/contrib/gcc/cp/cp-lang.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 cp-lang.c
--- cp/cp-lang.c	1 Sep 2002 20:38:06 -0000	1.1.1.2
+++ cp/cp-lang.c	3 Sep 2002 00:47:05 -0000
@@ -122,14 +122,8 @@
 {
   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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020903023129.GA27379>