http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46869

           Summary: FAIL:
                    20_util/enable_shared_from_this/cons/constexpr.cc
                    scan-assembler-not
                    _ZNSt23enable_shared_from_thisIiEC2Ev
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dang...@gcc.gnu.org
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11


Executing on host: /test/gnu/gcc/objdir/./gcc/g++ -shared-libgcc
-B/test/gnu/gcc
/objdir/./gcc -nostdinc++
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++
-v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/o
pt/gnu/gcc/gcc-4.6/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.6/hppa2.0w-hp
-hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-4.6/hppa2.0w-hp-hpux11.11/include
-isy
stem /opt/gnu/gcc/gcc-4.6/hppa2.0w-hp-hpux11.11/sys-include
-B/test/gnu/gcc/objd
ir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -g -O2 -D_GLIBCXX_ASSERT
-fmes
sage-length=0 -g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++
-I/test/gnu/gcc/objdir/h
ppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/
objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-
v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/g
cc/libstdc++-v3/testsuite/util
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/20_util/
enable_shared_from_this/cons/constexpr.cc   -std=gnu++0x -fno-inline
-save-temps
 -S  -o constexpr.s    (timeout = 600)
PASS: 20_util/enable_shared_from_this/cons/constexpr.cc (test for excess
errors)
FAIL: 20_util/enable_shared_from_this/cons/constexpr.cc scan-assembler-not
_ZNSt23enable_shared_from_thisIiEC2Ev
FAIL: 20_util/enable_shared_from_this/cons/constexpr.cc scan-assembler-not
_ZN7derivedC2Ev

The symbols appear in .stabs directives:

        .stabs 
"enable_shared_from_this:Tt3736=s8_M_weak_this:/03729,0,64;__bas
e_ctor
::3737=#3736,3,3738=*3736,3;:_ZNSt23enable_shared_from_thisIiEC2Ev;1A.;__
comp_ctor ::3737:_ZNSt23enable_shared_from_thisIiEC1Ev;1A.;__base_ctor
::3739=#3
736,3,3738,3740=&3741=k3742=3736,3;:_ZNSt23enable_shared_from_thisIiEC2ERKS0_;1A
.;__comp_ctor
::3739:_ZNSt23enable_shared_from_thisIiEC1ERKS0_;1A.;operator=::37
43=#3736,3744=&3742,3738,3740,3;:_ZNSt23enable_shared_from_thisIiEaSERKS0_;1A.;_
_base_dtor ::3737:_ZNSt23enable_shared_from_thisIiED2Ev;1A.;__comp_dtor
::3737:_
ZNSt23enable_shared_from_thisIiED1Ev;1A.;shared_from_this::3745=#3736,3733,3738,
3;:_ZNSt23enable_shared_from_thisIiE16shared_from_thisEv;2A.3746=#3736,3747=xssh
ared_ptr:,3748=*3749=k3736,3;:_ZNKSt23enable_shared_from_thisIiE16shared_from_th
isEv;2B.;;",128,0,472,0

        .stabs  "derived:Tt3750=s8!1,020,3736;__base_ctor
::3751=#3750,3,3752=*3
750,3;:_ZN7derivedC2Ev;2A.;__comp_ctor ::3751:_ZN7derivedC1Ev;2A.;;",128,0,26,0

Based on test results, I would guess the fail was introduced by this change:

2010-11-23  Benjamin Kosnik  <b...@redhat.com>
            Jason Merrill  <ja...@redhat.com>

        * testsuite/lib/libstdc++.exp: Use scanasm.
        * testsuite/util/testsuite_common_types.h
        (constexpr_default_constructible): Add support for non-literal types.
        (constexpr_single_value_constructible): Same.
        * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
        Remove xfail.
        * testsuite/20_util/shared_ptr/cons/constexpr.cc: Add.
        * testsuite/20_util/unique_ptr/cons/constexpr.cc: Add.
        * testsuite/20_util/weak_ptr/cons/constexpr.cc: Add.
        * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.

The following also fail:

FAIL: 20_util/shared_ptr/cons/constexpr.cc scan-assembler-not
_ZNSt10shared_ptrI
iEC2Ev
FAIL: 20_util/shared_ptr/cons/constexpr.cc scan-assembler-not
_ZNSt10shared_ptrI
iEC2EDn
FAIL: 20_util/unique_ptr/cons/constexpr.cc scan-assembler-not
_ZNSt10unique_ptrI
iSt14default_deleteIiEEC2Ev
FAIL: 20_util/unique_ptr/cons/constexpr.cc scan-assembler-not
_ZNSt10unique_ptrI
iSt14default_deleteIiEEC2EDn
FAIL: 20_util/weak_ptr/cons/constexpr.cc scan-assembler-not
_ZNSt8weak_ptrIiEC2E
v

Reply via email to