http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52296
Bug #: 52296 Summary: FAIL: g++.dg/debug/dwarf2/pr52260.C Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassig...@gcc.gnu.org ReportedBy: greta.yo...@arm.com CC: ja...@gcc.gnu.org Target: arm-none-eabi This test passes on trunk, but fails on gcc 4.6 branch (r184304) with the following message: $ arm-eabi-g++ /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C -gdwarf-4 -std=c++0x -S -o pr52260.s /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:77:27: error: expected unqualified-id before 'using' /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:80:15: error: 'AD' does not name a type /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:82:23: error: 'AZ' was not declared in this scope /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:82:24: error: template argument 1 is invalid /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:87:2: error: 'AZ' does not name a type /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C: In member function 'void A::Z<void>::foo(B)': /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:102:18: error: no matching function for call to 'A::AA::AE::o3(A::AA::AE::AY<void, A::AA::AE::C1>&)' /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:102:18: note: candidate is: /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:82:12: note: void A::AA::AE::o3(int, bool) /work/local-checkouts/gcc-fsf/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C:82:12: note: no known conversion for argument 1 from 'A::AA::AE::AY<void, A::AA::AE::C1>' to 'int' FAIL: g++.dg/debug/dwarf2/pr52260.C The test was introduced by this patch: http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00860.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52260