aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2011-06-14 10:45:17 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2011-06-14 10:45:17 +0000
commit37e1a18f04e97714fa63d486bbce76e28e22baa3 (patch)
treee3391b585dc76e89fa937f4d0b5b5ed6e6980719 /gcc/testsuite/gcc.c-torture
parent10c63ba47c8eb20ba6237239d89c7a5ed7e2294b (diff)
downloadgcc-37e1a18f04e97714fa63d486bbce76e28e22baa3.zip
gcc-37e1a18f04e97714fa63d486bbce76e28e22baa3.tar.gz
gcc-37e1a18f04e97714fa63d486bbce76e28e22baa3.tar.bz2
cmpsi-2.c: Undo 172757.
testsuite/ * gcc.c-torture/execute/cmpsi-2.c: Undo 172757. * gcc.c-torture/execute/cmpsi-2.x: New file. * gcc.c-torture/execute/pr45262.c: Undo 172757. * gcc.c-torture/execute/pr45262.x: New file. * gcc.c-torture/compile/pr46534.c: Skip for AVR. * gcc.c-torture/compile/pr49029.c: Add dg-require-effective-target int32plus * gcc.c-torture/compile/pr49163.c: Ditto. From-SVN: r175012
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr46534.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr49029.c1
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr49163.c1
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/cmpsi-2.x7
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr45262.c1
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr45262.x7
7 files changed, 17 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr46534.c b/gcc/testsuite/gcc.c-torture/compile/pr46534.c
index dc3c967..67c8ad2 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr46534.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr46534.c
@@ -1,4 +1,4 @@
-/* { dg-skip-if "too big" { pdp11-*-* } { "*" } { "" } } */
+/* { dg-skip-if "too big" { avr-*-* pdp11-*-* } { "*" } { "" } } */
/* PR middle-end/46534 */
extern int printf (const char *, ...);
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr49029.c b/gcc/testsuite/gcc.c-torture/compile/pr49029.c
index ebe81b3..71199d4 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr49029.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr49029.c
@@ -1,4 +1,5 @@
/* PR middle-end/49029 */
+/* { dg-require-effective-target int32plus } */
struct S { volatile unsigned f : 11; signed g : 30; } __attribute__((packed));
struct T { volatile struct S h; } __attribute__((packed)) a;
void foo (int);
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr49163.c b/gcc/testsuite/gcc.c-torture/compile/pr49163.c
index f14ab15..4f3b056 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr49163.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr49163.c
@@ -1,4 +1,5 @@
/* PR target/49163 */
+/* { dg-require-effective-target int32plus } */
struct S1
{
unsigned f0:18;
diff --git a/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c b/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c
index 4378b71..62832a9 100644
--- a/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c
+++ b/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target int32plus } */
-
#define F 140
#define T 13
diff --git a/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.x b/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.x
new file mode 100644
index 0000000..121fcfe
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.x
@@ -0,0 +1,7 @@
+load_lib target-supports.exp
+
+if { [check_effective_target_int16] } {
+ return 1
+}
+
+return 0;
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr45262.c b/gcc/testsuite/gcc.c-torture/execute/pr45262.c
index e94f4ff..72e186b 100644
--- a/gcc/testsuite/gcc.c-torture/execute/pr45262.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr45262.c
@@ -1,5 +1,4 @@
/* PR middle-end/45262 */
-/* { dg-require-effective-target int32plus } */
extern void abort (void);
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr45262.x b/gcc/testsuite/gcc.c-torture/execute/pr45262.x
new file mode 100644
index 0000000..121fcfe
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/pr45262.x
@@ -0,0 +1,7 @@
+load_lib target-supports.exp
+
+if { [check_effective_target_int16] } {
+ return 1
+}
+
+return 0;