From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33952 invoked by alias); 17 Apr 2015 15:22:20 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 33867 invoked by uid 89); 17 Apr 2015 15:22:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 17 Apr 2015 15:22:18 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 853BF91765; Fri, 17 Apr 2015 15:22:17 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-27.ams2.redhat.com [10.36.116.27]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3HFMDMm021943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 17 Apr 2015 11:22:16 -0400 Date: Fri, 17 Apr 2015 15:22:00 -0000 From: Jan Kratochvil To: gcc@gcc.gnu.org Cc: Phil Muldoon , Tom Tromey , gdb@sourceware.org Subject: Re: [gcc libcc1] build_qualified_type for self-referencing/incomplete types Message-ID: <20150417152213.GA2589@host1.jankratochvil.net> References: <20150410123145.GA18073@host1.jankratochvil.net> <20150414060905.GA22747@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150414060905.GA22747@host1.jankratochvil.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00038.txt.bz2 On Tue, 14 Apr 2015 08:09:05 +0200, Jan Kratochvil wrote: > On Fri, 10 Apr 2015 14:31:45 +0200, Jan Kratochvil wrote: > > What is the recommended fix? I expect pointer to a declaration / opaque type > > which gets completed only when one references the 'p' field later? > > It looks as it got fixed by: It did not. As I was told the mail was unclear - to simplify the question: How to get 'volatile struct sv' GCC 'tree' type for: volatile struct sv { volatile struct sv *p; }; Thanks, Jan