From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10844 invoked by alias); 13 Mar 2003 16:15:44 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10830 invoked from network); 13 Mar 2003 16:15:43 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 13 Mar 2003 16:15:43 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 072B814496; Thu, 13 Mar 2003 17:15:43 +0100 (MET) Date: Thu, 13 Mar 2003 16:28:00 -0000 From: Michael Matz To: Mark Mitchell Cc: Subject: Re: C++ PATCH: Yet another whack at references In-Reply-To: <8660000.1047098637@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-03/txt/msg01238.txt.bz2 Hi Mark, On Fri, 7 Mar 2003, Mark Mitchell wrote: > --On Saturday, March 08, 2003 12:03:37 AM +0100 Michael Matz > wrote: > > > * tree.c ( > > > > Note the apparent cut-off at the last line. > > Grr. Fixed in CVS. Sorry, to be a pain in the ass ;), but the reference stuff is still not completely right. The above patch, which indeed fixed some cases breaks another one, namely this: ------- snip -------- struct A { }; struct B : public A { }; struct X { operator B(); }; X x; int main() { const A& r = x; return 0; } ------- snap -------- In HEAD and 3.3 branch this currently gives: bla.cc:10: internal compiler error: in initialize_reference, at cp/call.c:6093 If going back to just before your patch went in, it compiles. Ciao, Michael.