diff mbox

[testsuite] add require-effective-target c99_runtime for pr71078-*.c tests

Message ID CAAgBjMm+Nzz4O7Peip5BJ5byPYnBptz=+ZbPaKYW4Epoa0gRLA@mail.gmail.com
State New
Headers show

Commit Message

Prathamesh Kulkarni Aug. 6, 2016, 8:55 a.m. UTC
Hi Richard,
The patch for PR71078 broke the test-cases for arm and aarch64 bare
metal targets :/
In the attached patch, restricting the tests to c99_runtime.
Sorry for the breakage.
Ok for trunk ?

Thanks,
Prathamesh
2016-08-06  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

testsuite/
	* gcc.dg/tree-ssa/pr71078-1.c: Add require-effective-target
	c99_runtime.
	* gcc.dg/tree-ssa/pr71078-1-double.c: Likewise.
	* gcc.dg/tree-ssa/pr71078-1-long-double.c: Likewise.
	* gcc.dg/tree-ssa/pr71078-2.c: Likewise.
	* gcc.dg/tree-ssa/pr71078-2-double.c: Likewise.
	* gcc.dg/tree-ssa/pr71078-2-long-double.c: Likewise.
	* gcc.dg/tree-ssa/pr71078-3.c: Likewise.
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-double.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-double.c
index 3ef9efd..b0e8acf 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-double.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-double.c
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target large_double } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
 
 #include <math.h>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-long-double.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-long-double.c
index a528246..00fbba8 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-long-double.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1-long-double.c
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target large_long_double } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
 
 #include <math.h>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1.c
index 10e3c35..6ca08a5 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
 
 #include <math.h>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-double.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-double.c
index 4ef1e4d..7e45fc1 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-double.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-double.c
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target large_double } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
 
 #include <math.h>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-long-double.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-long-double.c
index 2eaf02d..38290fb 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-long-double.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-long-double.c
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target large_long_double } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
 
 #include <math.h>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2.c
index 7ce61a1..b74dbf5 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-2.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
 
 #include <math.h>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-3.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-3.c
index 8871a69..5f3fe26 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71078-3.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71078-3.c
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target large_double } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
 
 #include <math.h>