gcc/testsuite/
* 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.
From-SVN: r182020
+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
// PR debug/46338
// { dg-do compile }
+// { dg-require-profiling "-fprofile-generate" }
// { dg-options "-O -fprofile-generate -fcompare-debug" }
void bar ();
/* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-fprofile-generate" } */
template<class _CharT> struct char_traits;
// { dg-do compile }
+/* { dg-require-profiling "-fprofile-generate" } */
// { dg-options "-fprofile-generate" }
// GCC used to ICE with some EH edge missing.
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-fipa-pta -fprofile-generate" } */
void *
memcpy (void *a, const void *b, __SIZE_TYPE__ len)
output reloads. */
/* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-O2 -fprofile-generate" } */
char *
/* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-O2 -fprofile-generate" } */
struct S
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
/* PR middle-end/27573 */
/* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-O2 -fopenmp -fprofile-generate" } */
extern int puts (const char *);
/* PR debug/46255 */
/* { dg-do compile } */
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-fcompare-debug -fprofile-generate -O" } */
int bar (void);
/* { 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" } } */
/* { 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" } } */
/* { 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" } } */
/* Bug 16325. */
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-O -fprofile-generate" } */
extern void abort (void);
/* { dg-do link } */
-/* { dg-require-profiling "" } */
+/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-fprofile-generate=." } */
int
! PR middle-end/27573
! { dg-do compile }
+! { dg-require-profiling "-fprofile-generate" }
! { dg-options "-O2 -fopenmp -fprofile-generate" }
program pr27573