This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 19200
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 10 Jun 2014 11:31:05 -0400
- Subject: Re: [C++ Patch] PR 19200
- Authentication-results: sourceware.org; auth=none
- References: <53963D1C dot 5040808 at oracle dot com> <53966219 dot 3000008 at redhat dot com> <5396D6CF dot 70701 at oracle dot com> <53971706 dot 8090202 at redhat dot com> <FFDE8445-EF77-457B-8BBF-99ED28759338 at oracle dot com>
On 06/10/2014 11:19 AM, Paolo Carlini wrote:
Back to you in a few hours, but I suspect we would have trouble with the famous
struct S
{
friend S::S();
};
compiled with -fpermissive.
I don't think so; that should be handled later in grokdeclarator by
if (declarator
&& declarator->u.id.qualifying_scope
&& MAYBE_CLASS_TYPE_P (declarator->u.id.qualifying_scope))
{
ctype = declarator->u.id.qualifying_scope;
Jason