This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch / RFC] PR 46206
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Iain Sandoe <iain at codesourcery dot com>, Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Dominique Dhumieres <dominiq at lps dot ens dot fr>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Fri, 9 Aug 2013 11:22:00 -0400
- Subject: Re: [C++ Patch / RFC] PR 46206
- References: <20130809105250 dot 85B7D3BE1E at mailhost dot lps dot ens dot fr> <5204CEB1 dot 8010605 at oracle dot com> <2443FCF9-FC46-4D74-91B2-CF1FAE69CD8B at codesourcery dot com>
On Fri, Aug 9, 2013 at 7:35 AM, Iain Sandoe <iain@codesourcery.com> wrote:
>
> On 9 Aug 2013, at 12:12, Paolo Carlini wrote:
>
>> On 08/09/2013 12:52 PM, dominiq@lps.ens.fr wrote:
>>> On x86_64-apple-darwin10, g++.dg/lookup/typedef2.C fails with
>>>
>>> FAIL: g++.dg/lookup/typedef2.C -std=c++11 (test for excess errors)
>>> Excess errors:
>>> /opt/gcc/work/gcc/testsuite/g++.dg/lookup/typedef2.C:8:12: error: using typedef-name 'Foo1::Bar' after 'struct'
>>> /opt/gcc/work/gcc/testsuite/g++.dg/lookup/typedef2.C:8:19: error: invalid type in declaration before ';' token
>> As I said, the patch solves the issue on -linux, not just x86_64-linux, but Linux more generally. Honestly, I don't know how much it will take me to figure out a way to extend it to other targets, unless somebody concretely helps.
>
> what output/analysis would help you in the short term?
> (maybe looking at the common factors between more than one failing target will help to isolate the issue).
Exactly. What is the common factor on AIX, Darwin and Solaris that is
different from Linux? A difference in system types?
How can we help?
Thanks, David