This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [gcc libcc1] build_qualified_type for self-referencing/incomplete types
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Phil Muldoon <pmuldoon at redhat dot com>, Tom Tromey <tom at tromey dot com>, gdb at sourceware dot org
- Date: Fri, 17 Apr 2015 17:22:13 +0200
- Subject: Re: [gcc libcc1] build_qualified_type for self-referencing/incomplete types
- Authentication-results: sourceware.org; auth=none
- References: <20150410123145 dot GA18073 at host1 dot jankratochvil dot net> <20150414060905 dot GA22747 at host1 dot jankratochvil dot net>
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