pr82725.C: Move to ...
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Oct 2017 20:05:20 +0000 (21:05 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 30 Oct 2017 20:05:20 +0000 (21:05 +0100)
* g++.dg/pr82725.C: Move to ...
* g++.dg/cpp0x/pr82725.C: ... here.  Add c++11 target directive.

From-SVN: r254242

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr82725.C [new file with mode: 0644]
gcc/testsuite/g++.dg/pr82725.C [deleted file]

index 0ffba855b77b4a3c28fcad31f8bb3d57547e6c8c..7b1bf85ab7616d7ff741a59412b40c95fa2e5b7e 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-30  Uros Bizjak  <ubizjak@gmail.com>
+
+       * g++.dg/pr82725.C: Move to ...
+       * g++.dg/cpp0x/pr82725.C: ... here.  Add c++11 target directive.
+
 2017-10-30  Steven G. Kargl   <kargl@gcc.gnu.org>
 
        * gfortran.dg/dtio_13.f90: Remove TODO comment and dg-error test.
diff --git a/gcc/testsuite/g++.dg/cpp0x/pr82725.C b/gcc/testsuite/g++.dg/cpp0x/pr82725.C
new file mode 100644 (file)
index 0000000..14cb6d8
--- /dev/null
@@ -0,0 +1,16 @@
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && c++11 } } }
+// { dg-require-effective-target pie }
+// { dg-options "-O2 -fpie -mtls-direct-seg-refs" }
+
+struct string
+{
+  __SIZE_TYPE__ length;
+  const char *ptr;
+};
+
+string
+tempDir ()
+{
+  thread_local string cache;
+  return cache;
+}
diff --git a/gcc/testsuite/g++.dg/pr82725.C b/gcc/testsuite/g++.dg/pr82725.C
deleted file mode 100644 (file)
index c92b28a..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
-// { dg-require-effective-target pie }
-// { dg-options "-O2 -fpie -mtls-direct-seg-refs" }
-
-struct string
-{
-  __SIZE_TYPE__ length;
-  const char *ptr;
-};
-
-string
-tempDir ()
-{
-  thread_local string cache;
-  return cache;
-}