From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22469 invoked by alias); 9 Dec 2010 16:44:29 -0000 Received: (qmail 22457 invoked by uid 22791); 9 Dec 2010 16:44:27 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Dec 2010 16:44:21 +0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/46869] New: FAIL: 20_util/enable_shared_from_this/cons/constexpr.cc scan-assembler-not _ZNSt23enable_shared_from_thisIiEC2Ev X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 09 Dec 2010 16:44:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg01003.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: danglin@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 Jason Merrill * 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