This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[COMMITTED][testsuite] Add target pthread to pr86076.c
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 18 Jun 2018 12:18:14 +0000
- Subject: [COMMITTED][testsuite] Add target pthread to pr86076.c
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Add missing target pthread to ensure test doesn't fail on bare-metal
targets. Committed as obvious.
ChangeLog:
2018-06-18 Wilco Dijkstra <wdijkstr@arm.com>
PR tree-optimization/86076
* gcc.dg/pr86076.c: Add target pthread for bare-metal targets.
--
diff --git a/gcc/testsuite/gcc.dg/pr86076.c b/gcc/testsuite/gcc.dg/pr86076.c
index 019ced3cbf5969e477b2e4b696f26c8afc9457c5..390ca47ba12481e4f9587a11a8c46de0c74de0d8 100644
--- a/gcc/testsuite/gcc.dg/pr86076.c
+++ b/gcc/testsuite/gcc.dg/pr86076.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target pthread } } */
/* { dg-options "-O2 -ftree-parallelize-loops=2 -fno-tree-dce -fno-tree-pre -fno-tree-vrp --param max-loop-header-insns=1" } */
int __attribute__ ((noinline))