Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/test/gnu/ gcc/objdir/gcc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/g++.dg/debug /dwarf2/typedef1.C -nostdinc++ -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libst dc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/l ibstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/g cc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -g -dA -S -o typedef1.s (timeout = 300) PASS: g++.dg/debug/dwarf2/typedef1.C (test for excess errors) PASS: g++.dg/debug/dwarf2/typedef1.C scan-assembler-times DW_TAG_structure_type 2 FAIL: g++.dg/debug/dwarf2/typedef1.C scan-assembler-times DW_AT_name: "foo<1u>" 1 PASS: g++.dg/debug/dwarf2/typedef1.C scan-assembler-times DW_TAG_enumeration_typ e 2 FAIL: g++.dg/debug/dwarf2/typedef1.C scan-assembler-times DW_AT_name: "typedef f oo<1u>::type type" 1 PASS: g++.dg/debug/dwarf2/typedef1.C scan-assembler-times DIE (.*) DW_TAG_enumer ation_type 2 PASS: g++.dg/debug/dwarf2/typedef1.C scan-assembler-times "e0..".*DW_AT_name 1 PASS: g++.dg/debug/dwarf2/typedef1.C scan-assembler-times "e1..".*DW_AT_name 1 In assembler, we have: .ascii "typedef foo<1u>::type type\0" ; DW_AT_name and .ascii "typedef foo<1u>::type type\0" ; DW_AT_name
Subject: Bug 40858 Author: danglin Date: Mon Aug 3 17:29:17 2009 New Revision: 150375 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150375 Log: PR testsuite/40858 * g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with .ascii. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/debug/dwarf2/typedef1.C
Fixed.
Author: danglin Date: Sat Oct 16 23:00:55 2010 New Revision: 165568 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165568 Log: Backport from mainline 2010-09-06 Jakub Jelinek <jakub@redhat.com> PR testsuite/45543 * g++.dg/debug/dwarf2/typedef1.C: Expect just one DW_TAG_enumeration_type DIE. 2010-09-04 Andreas Schwab <schwab@linux-m68k.org> * g++.dg/debug/dwarf2/typedef1.C: Replace ".*" by "\[^\n\]*". 2009-11-07 Jason Merrill <jason@redhat.com> PR c++/18451 PR c++/40738 * g++.dg/other/typedef1.C: Update expected errors. 2009-08-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR testsuite/40858 * g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with .ascii. Modified: branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/g++.dg/debug/dwarf2/typedef1.C