public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, libstdc++, testsuite] Remove redundant -save-temps options
@ 2015-08-04 17:10 Nikolai Bozhenov
  2015-08-05 20:57 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Bozhenov @ 2015-08-04 17:10 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

Hi,

the attached patch removes redundant -save-temps options from some libstdc++
tests, since the option is not needed in dg-do-compile/scan-assembler tests.

Thanks,
Nikolai


[-- Attachment #2: save-temps.patch --]
[-- Type: text/x-diff, Size: 4003 bytes --]

2015-08-04  Nikolai Bozhenov  <n.bozhenov@samsung.com>

	* testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Remove
	redundant -save-temps option.
	* 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.
	* testsuite/30_threads/future/cons/constexpr.cc: Likewise.
	* testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
          

diff --git a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc
index 78d8f06..18bf0c7 100644
--- a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc
+++ b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-std=gnu++11 -fno-inline -save-temps -g0" }
+// { dg-options "-std=gnu++11 -fno-inline -g0" }
 // { dg-final { scan-assembler-not "_ZNSt23enable_shared_from_thisIiEC2Ev" } }
 // { dg-final { scan-assembler-not "_ZN7derivedC2Ev" } }
 
diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc
index 0c9e9b2..63cc60b 100644
--- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc
+++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-std=gnu++11 -fno-inline -save-temps -g0" }
+// { dg-options "-std=gnu++11 -fno-inline -g0" }
 // { dg-final { scan-assembler-not "_ZNSt10shared_ptrIiEC2Ev" } }
 // { dg-final { scan-assembler-not "_ZNSt10shared_ptrIiEC2EDn" } }
 
diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc
index 4d6ae77..f118415 100644
--- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc
+++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-std=gnu++11 -fno-inline -save-temps -g0" }
+// { dg-options "-std=gnu++11 -fno-inline -g0" }
 // { dg-final { scan-assembler-not "_ZNSt10unique_ptrIiSt14default_deleteIiEEC2Ev" } }
 // { dg-final { scan-assembler-not "_ZNSt10unique_ptrIiSt14default_deleteIiEEC2EDn" } }
 
diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc
index b5eff55..6b77e9b 100644
--- a/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc
+++ b/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-std=gnu++11 -fno-inline -save-temps -g0" }
+// { dg-options "-std=gnu++11 -fno-inline -g0" }
 // { dg-final { scan-assembler-not "_ZNSt8weak_ptrIiEC2Ev" } }
 
 // Copyright (C) 2010-2015 Free Software Foundation, Inc.
diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc
index 0ec5fda..11945ad 100644
--- a/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc
+++ b/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-std=gnu++11 -fno-inline -save-temps -g0" }
+// { dg-options "-std=gnu++11 -fno-inline -g0" }
 // { dg-require-cstdint "" }
 // { dg-require-gthreads "" }
 // { dg-require-atomic-builtins "" }
diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc
index 11826e1..eebf797 100644
--- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc
+++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-std=gnu++11 -fno-inline -save-temps -g0" }
+// { dg-options "-std=gnu++11 -fno-inline -g0" }
 // { dg-require-cstdint "" }
 // { dg-require-gthreads "" }
 // { dg-require-atomic-builtins "" }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, libstdc++, testsuite] Remove redundant -save-temps options
  2015-08-04 17:10 [PATCH, libstdc++, testsuite] Remove redundant -save-temps options Nikolai Bozhenov
@ 2015-08-05 20:57 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2015-08-05 20:57 UTC (permalink / raw)
  To: Nikolai Bozhenov; +Cc: libstdc++, gcc-patches

On 04/08/15 20:09 +0300, Nikolai Bozhenov wrote:
>Hi,
>
>the attached patch removes redundant -save-temps options from some libstdc++
>tests, since the option is not needed in dg-do-compile/scan-assembler tests.

Thanks, committed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-05 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 17:10 [PATCH, libstdc++, testsuite] Remove redundant -save-temps options Nikolai Bozhenov
2015-08-05 20:57 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).