aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2015-01-13 21:24:16 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2015-01-13 13:24:16 -0800
commit9c80f9197ef4bce167065c39a74e79d9dd7ac879 (patch)
tree273afaa3954e262524f1a8d76c15c5f643511522
parentf263fe40d780740a780e8c273fc336da48fd963e (diff)
downloadgcc-9c80f9197ef4bce167065c39a74e79d9dd7ac879.zip
gcc-9c80f9197ef4bce167065c39a74e79d9dd7ac879.tar.gz
gcc-9c80f9197ef4bce167065c39a74e79d9dd7ac879.tar.bz2
Add dg-require-profiling to gcc.dg/aru-2.c
* gcc.dg/aru-2.c: Add dg-require-profiling. From-SVN: r219561
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/aru-2.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5e58e7d..cb15553 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2015-01-13 H.J. Lu <hongjiu.lu@intel.com>
+ * gcc.dg/aru-2.c: Add dg-require-profiling.
+
+2015-01-13 H.J. Lu <hongjiu.lu@intel.com>
+
* lib/target-supports.exp (check_profiling_available): Check if
-pg links.
diff --git a/gcc/testsuite/gcc.dg/aru-2.c b/gcc/testsuite/gcc.dg/aru-2.c
index efd1f01..d36adc1 100644
--- a/gcc/testsuite/gcc.dg/aru-2.c
+++ b/gcc/testsuite/gcc.dg/aru-2.c
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-require-profiling "-pg" } */
/* { dg-options "-O2 -pg" } */
static int __attribute__((noinline))