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: Iain Sandoe <iain at codesourcery dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: <dominiq at lps dot ens dot fr>, <gcc-patches at gcc dot gnu dot org>, <jason at redhat dot com>, <dje dot gcc at gmail dot com>
- Date: Fri, 9 Aug 2013 12:35:19 +0100
- 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>
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).
Iain