Patchwork [v3] libstdc++/46869

login
register
mail settings
Submitter Paolo Carlini
Date Dec. 19, 2010, 4:21 p.m.
Message ID <4D0E3102.2070407@oracle.com>
Download mbox | patch
Permalink /patch/76141/
State New
Headers show

Comments

Paolo Carlini - Dec. 19, 2010, 4:21 p.m.
Hi,

sanity checked on x86_64-linux, committed to mainline.

Paolo.

///////////////////////
2010-12-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	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.

Patch

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.