This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committted] PATCH: Add dg-require-profiling to gcc.dg/aru-2.c
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Jan 2015 13:25:25 -0800
- Subject: [committted] PATCH: Add dg-require-profiling to gcc.dg/aru-2.c
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch to add dg-require-profiling to gcc.dg/aru-2.c
as an obvious fix.
H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog (revision 219560)
+++ ChangeLog (working copy)
@@ -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.
Index: gcc.dg/aru-2.c
===================================================================
--- gcc.dg/aru-2.c (revision 219560)
+++ gcc.dg/aru-2.c (working copy)
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-require-profiling "-pg" } */
/* { dg-options "-O2 -pg" } */
static int __attribute__((noinline))