summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-14 10:45:17 +0000
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-14 10:45:17 +0000
commitbbd19b94ee28431f2382acb9dc67edc57ac86603 (patch)
treee3391b585dc76e89fa937f4d0b5b5ed6e6980719
parenteda83832c7de9d0f45a336cd8f065b18c9f3ad06 (diff)
downloadgcc-bbd19b94ee28431f2382acb9dc67edc57ac86603.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175012 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog11
-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
8 files changed, 28 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ea38b829abc..a117e656430 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,14 @@
+2011-06-14 Georg-Johann Lay <avr@gjlay.de>
+
+ * 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.
+
2011-06-14 Ira Rosen <ira.rosen@linaro.org>
* gcc.dg/vect/vect-16.c: Rename to...
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr46534.c b/gcc/testsuite/gcc.c-torture/compile/pr46534.c
index dc3c967cc2a..67c8ad21ebf 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 ebe81b31b28..71199d44515 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 f14ab1531e6..4f3b056053e 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 4378b719e83..62832a9bffc 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 00000000000..121fcfecc2c
--- /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 e94f4ff29ec..72e186bf287 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 00000000000..121fcfecc2c
--- /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;