Iain Sandoe <i...@codesourcery.com> writes: > On 9 Aug 2013, at 12:12, Paolo Carlini wrote: > >> On 08/09/2013 12:52 PM, domi...@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).
FWIW, I see a similar failure on i386-pc-solaris2.10: FAIL: g++.dg/lookup/typedef2.C -std=c++98 (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/lookup/typedef2.C:18:12: error: using typedef-name 'Foo2::Bar' after 'struct' /vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/lookup/typedef2.C:18:19: error: invalid type in declaration before ';' token Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University