From patchwork Sun Dec 19 16:21:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 76141 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 91343B70AA for ; Mon, 20 Dec 2010 03:21:37 +1100 (EST) Received: (qmail 14814 invoked by alias); 19 Dec 2010 16:21:34 -0000 Received: (qmail 14797 invoked by uid 22791); 19 Dec 2010 16:21:32 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from vsmtp14.tin.it (HELO vsmtp14.tin.it) (212.216.176.118) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Dec 2010 16:21:25 +0000 Received: from [192.168.0.4] (79.25.196.66) by vsmtp14.tin.it (8.5.132) id 4D0A06B300390BD5; Sun, 19 Dec 2010 17:21:23 +0100 Message-ID: <4D0E3102.2070407@oracle.com> Date: Sun, 19 Dec 2010 17:21:22 +0100 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: libstdc++ Subject: [v3] libstdc++/46869 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, sanity checked on x86_64-linux, committed to mainline. Paolo. /////////////////////// 2010-12-19 John David Anglin PR libstdc++/46869 * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Compile with -g0. * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise. * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise. * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise. Index: testsuite/20_util/enable_shared_from_this/cons/constexpr.cc =================================================================== --- testsuite/20_util/enable_shared_from_this/cons/constexpr.cc (revision 168046) +++ testsuite/20_util/enable_shared_from_this/cons/constexpr.cc (working copy) @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-std=gnu++0x -fno-inline -save-temps" } +// { dg-options "-std=gnu++0x -fno-inline -save-temps -g0" } // { dg-final { scan-assembler-not "_ZNSt23enable_shared_from_thisIiEC2Ev" } } // { dg-final { scan-assembler-not "_ZN7derivedC2Ev" } } Index: testsuite/20_util/shared_ptr/cons/constexpr.cc =================================================================== --- testsuite/20_util/shared_ptr/cons/constexpr.cc (revision 168046) +++ testsuite/20_util/shared_ptr/cons/constexpr.cc (working copy) @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-std=gnu++0x -fno-inline -save-temps" } +// { dg-options "-std=gnu++0x -fno-inline -save-temps -g0" } // { dg-final { scan-assembler-not "_ZNSt10shared_ptrIiEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt10shared_ptrIiEC2EDn" } } Index: testsuite/20_util/unique_ptr/cons/constexpr.cc =================================================================== --- testsuite/20_util/unique_ptr/cons/constexpr.cc (revision 168046) +++ testsuite/20_util/unique_ptr/cons/constexpr.cc (working copy) @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-std=gnu++0x -fno-inline -save-temps" } +// { dg-options "-std=gnu++0x -fno-inline -save-temps -g0" } // { dg-final { scan-assembler-not "_ZNSt10unique_ptrIiSt14default_deleteIiEEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt10unique_ptrIiSt14default_deleteIiEEC2EDn" } } Index: testsuite/20_util/weak_ptr/cons/constexpr.cc =================================================================== --- testsuite/20_util/weak_ptr/cons/constexpr.cc (revision 168046) +++ testsuite/20_util/weak_ptr/cons/constexpr.cc (working copy) @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-std=gnu++0x -fno-inline -save-temps" } +// { dg-options "-std=gnu++0x -fno-inline -save-temps -g0" } // { dg-final { scan-assembler-not "_ZNSt8weak_ptrIiEC2Ev" } } // Copyright (C) 2010 Free Software Foundation, Inc.