OSDN Git Service

gcc/testsuite/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Dec 2011 19:24:30 +0000 (19:24 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Dec 2011 19:24:30 +0000 (19:24 +0000)
* g++.dg/debug/pr46338.C: Add dg-require-profiling.
* g++.dg/torture/pr39732.C: Likewise.
* g++.dg/torture/pr40642.C: Likewise.
* gcc.c-torture/compile/pr44686.c: Likewise.
* gcc.dg/20050309-1.c: Likewise.
* gcc.dg/20050330-2.c: Likewise.
* gcc.dg/20051201-1.c: Likewise.
* gcc.dg/gomp/pr27573.c: Likewise.
* gcc.dg/pr46255.c: Likewise.
* gcc.dg/profile-dir-1.c: Likewise.
* gcc.dg/profile-dir-2.c: Likewise.
* gcc.dg/profile-dir-3.c: Likewise.
* gcc.dg/profile-generate-1.c: Likewise.
* gfortran.dg/gomp/pr27573.f90: Likewise.
* gcc.dg/profile-generate-3.c: Be specific about the type of
profiling required.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182020 138bc75d-0d04-0410-961f-82ee72b054a4

16 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr46338.C
gcc/testsuite/g++.dg/torture/pr39732.C
gcc/testsuite/g++.dg/torture/pr40642.C
gcc/testsuite/gcc.c-torture/compile/pr44686.c
gcc/testsuite/gcc.dg/20050309-1.c
gcc/testsuite/gcc.dg/20050330-2.c
gcc/testsuite/gcc.dg/20051201-1.c
gcc/testsuite/gcc.dg/gomp/pr27573.c
gcc/testsuite/gcc.dg/pr46255.c
gcc/testsuite/gcc.dg/profile-dir-1.c
gcc/testsuite/gcc.dg/profile-dir-2.c
gcc/testsuite/gcc.dg/profile-dir-3.c
gcc/testsuite/gcc.dg/profile-generate-1.c
gcc/testsuite/gcc.dg/profile-generate-3.c
gcc/testsuite/gfortran.dg/gomp/pr27573.f90

index 1886e24..180c8c3 100644 (file)
@@ -1,3 +1,22 @@
+2011-12-05  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * g++.dg/debug/pr46338.C: Add dg-require-profiling.
+       * g++.dg/torture/pr39732.C: Likewise.
+       * g++.dg/torture/pr40642.C: Likewise.
+       * gcc.c-torture/compile/pr44686.c: Likewise.
+       * gcc.dg/20050309-1.c: Likewise.
+       * gcc.dg/20050330-2.c: Likewise.
+       * gcc.dg/20051201-1.c: Likewise.
+       * gcc.dg/gomp/pr27573.c: Likewise.
+       * gcc.dg/pr46255.c: Likewise.
+       * gcc.dg/profile-dir-1.c: Likewise.
+       * gcc.dg/profile-dir-2.c: Likewise.
+       * gcc.dg/profile-dir-3.c: Likewise.
+       * gcc.dg/profile-generate-1.c: Likewise.
+       * gfortran.dg/gomp/pr27573.f90: Likewise.
+       * gcc.dg/profile-generate-3.c: Be specific about the type of
+       profiling required.
+
 2011-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/51414
index dfa9245..caf7117 100644 (file)
@@ -1,5 +1,6 @@
 // PR debug/46338
 // { dg-do compile }
+// { dg-require-profiling "-fprofile-generate" }
 // { dg-options "-O -fprofile-generate -fcompare-debug" }
 
 void bar ();
index 4184175..4b3975b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-fprofile-generate" } */
 
 template<class _CharT>     struct char_traits;
index 3f545a8..771c837 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile }
+/* { dg-require-profiling "-fprofile-generate" } */
 // { dg-options "-fprofile-generate" }
 
 // GCC used to ICE with some EH edge missing.
index 62c57d7..e1e7501 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-fipa-pta -fprofile-generate" } */
 void *
 memcpy (void *a, const void *b, __SIZE_TYPE__ len)
index f8bf92a..8e11bc5 100644 (file)
@@ -2,6 +2,7 @@
    output reloads.  */
 
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O2 -fprofile-generate" } */
 
 char *
index d912ffd..f2562a8 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O2 -fprofile-generate" } */
 
 struct S
index bc8e792..c029205 100644 (file)
@@ -2,6 +2,7 @@
    tree_flow_call_edges_add.  */
 
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O1 -fprofile-generate -Wno-attributes" } */
 
 static __attribute__ ((always_inline)) void 
index d5b9a71..239e991 100644 (file)
@@ -1,5 +1,6 @@
 /* PR middle-end/27573 */
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O2 -fopenmp -fprofile-generate" } */
 
 extern int puts (const char *);
index e3c9fa7..3a16390 100644 (file)
@@ -1,5 +1,6 @@
 /* PR debug/46255 */
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-fcompare-debug -fprofile-generate -O" } */
 
 int bar (void);
index fbe66ad..6cf5391 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O -fprofile-generate=. -fdump-ipa-cgraph" } */
 /* { dg-final { scan-ipa-dump " ./profile-dir-1.gcda" "cgraph" } } */
 
index 1708f7b..0d8624e 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O -fprofile-generate -fdump-ipa-cgraph" } */
 /* { dg-final { scan-ipa-dump "/profile-dir-2.gcda" "cgraph" } } */
 
index ccedf0e..dac0e4a 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O -fprofile-generate -fprofile-dir=. -fdump-ipa-cgraph" } */
 /* { dg-final { scan-ipa-dump " ./profile-dir-3.gcda" "cgraph" } } */
 
index fe51754..ed49df9 100644 (file)
@@ -1,4 +1,5 @@
 /* Bug 16325.  */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-O -fprofile-generate" } */
 
 extern void abort (void);
index afab246..212ddee 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do link } */
-/* { dg-require-profiling "" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 /* { dg-options "-fprofile-generate=." } */
 
 int
index 1d3d3b7..e7dbf03 100644 (file)
@@ -1,5 +1,6 @@
 ! PR middle-end/27573
 ! { dg-do compile }
+! { dg-require-profiling "-fprofile-generate" }
 ! { dg-options "-O2 -fopenmp -fprofile-generate" }
 
 program pr27573