This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 3/7] Emit macro expansion related diagnostics
- From: Dodji Seketeli <dodji at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, tromey at redhat dot com, gdr at integrable-solutions dot net, joseph at codesourcery dot com, burnus at net-b dot de, charlet at act-europe dot fr, bonzini at gnu dot org
- Date: Tue, 04 Oct 2011 22:18:46 +0200
- Subject: Re: [PATCH 3/7] Emit macro expansion related diagnostics
- References: <1291979498-1604-1-git-send-email-dodji@redhat.com> <4E74AA75.8090106@redhat.com> <m3y5xk8whp.fsf@redhat.com> <4E778A26.1000707@redhat.com> <4E77ACA1.80205@redhat.com> <m3y5xj7k4m.fsf@redhat.com> <4E789C5B.20509@redhat.com> <m31uvb5mxi.fsf@redhat.com> <4E793BF4.4010103@redhat.com> <m3y5xh21ca.fsf@redhat.com> <4E7B497F.8060301@redhat.com> <m3litbdpgc.fsf@redhat.com> <4E80E47C.305@redhat.com> <m3sjnhan4s.fsf@redhat.com> <4E83B6D5.5030907@redhat.com> <m3d3ej5kqu.fsf@redhat.com> <4E84C9FA.30604@redhat.com> <m362kb59kr.fsf@redhat.com> <4E85E004.2030706@redhat.com> <m3ipo5surj.fsf@redhat.com> <4E8B6580.3090404@redhat.com>
Jason Merrill <jason@redhat.com> writes:
> So then this change would make
>
> _Complex c;
>
> OK, but not
>
> static _Complex c;
>
> because the first declspec is not from a macro, right?
Yes.
>
>> I believe you noted this at some point and
>> agreed with me that ideally each declspec should come with its location
>> but that's work for another occasion.
>
> If I'm right about the above example, I think I'd rather hold off this
> declspecs change until that time.
OK.
--
Dodji