Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/g++/../../g++
-B/mnt/gnu/gc
c/objdir/gcc/testsuite/g++/../../
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/debug/dw
arf2/pubnames-1.C -nostdinc++
-I/mnt/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc
++-v3/include/hppa64-hp-hpux11.11
-I/mnt/gnu/gcc/objdir/hppa64-hp-hpux11.11/libs
tdc++-v3/include -I/mnt/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/mnt/gnu/gcc/gcc/li
bstdc++-v3/include/backward -I/mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmes
sage-length=0 -g -dA -S -o pubnames-1.s (timeout = 300)
PASS: g++.dg/debug/dwarf2/pubnames-1.C (test for excess errors)
PASS: g++.dg/debug/dwarf2/pubnames-1.C scan-assembler-times .debug_pubnames 1
FAIL: g++.dg/debug/dwarf2/pubnames-1.C scan-assembler-times "main".*external
nam
e 1
PASS: g++.dg/debug/dwarf2/pubnames-1.C scan-assembler-times "ns::ns_x.*external
name 1
PASS: g++.dg/debug/dwarf2/pubnames-1.C scan-assembler-times "y::y_x.*external
na
me 1
The match pattern is wrong. This is what I see in the .s:
.ascii "main\0" ; external name
The pattern on head adds '.0' to match '\0'. There's also some additional
changes for darwin.
--
Summary: FAIL: g++.dg/debug/dwarf2/ scan-assembler-times
"main".*external name 1
Product: gcc
Version: 4.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41666