From owner-freebsd-current Mon Sep 2 19:31:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65CF137B400 for ; Mon, 2 Sep 2002 19:31:40 -0700 (PDT) Received: from mx7.mail.ru (mx7.mail.ru [194.67.57.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 488DE43E3B for ; Mon, 2 Sep 2002 19:31:39 -0700 (PDT) (envelope-from kan@mail.ru) Received: from drweb by mx7.mail.ru with drweb-scanned (Exim MX.7) id 17m3Td-000Nrr-00; Tue, 03 Sep 2002 06:31:37 +0400 Received: from [141.154.54.235] (helo=kan.dnsalias.net) by mx7.mail.ru with esmtp (Exim SMTP.7) id 17m3Td-000Nqf-00; Tue, 03 Sep 2002 06:31:37 +0400 Received: from kan.dnsalias.net (localhost [IPv6:::1]) by kan.dnsalias.net (8.12.5/8.12.5) with ESMTP id g832VYFd027400; Mon, 2 Sep 2002 22:31:35 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.6/8.12.6/Submit) id g832VTgC027399; Mon, 2 Sep 2002 22:31:29 -0400 (EDT) Date: Mon, 2 Sep 2002 22:31:29 -0400 From: Alexander Kabaev 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> References: <200209030217.WAA12235@www22.ureach.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209030217.WAA12235@www22.ureach.com> User-Agent: Mutt/1.5.1i X-Envelope-To: michael@purplenake.com, current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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