summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr28814.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr29584.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 972dbfb7d9d..057c0ca873c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2007-07-25 Rask Ingemann Lambertsen <rask@sygehus.dk>
+ * gcc.dg/torture/pr29584.c: Only run test if pointers have the same
+ size as "long int" and are 32 or 64 bits wide.
+ * gcc.dg/torture/pr28814.c: Likewise.
+
+2007-07-25 Rask Ingemann Lambertsen <rask@sygehus.dk>
+
* gcc.dg/torture/pr30313.c (struct S): Make sure the bit-field is
exactly as wide as an int.
diff --git a/gcc/testsuite/gcc.dg/torture/pr28814.c b/gcc/testsuite/gcc.dg/torture/pr28814.c
index 94bbc74594a..cc3c9f6ce73 100644
--- a/gcc/testsuite/gcc.dg/torture/pr28814.c
+++ b/gcc/testsuite/gcc.dg/torture/pr28814.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target { ilp32 || lp64 } } } */
struct w49
{
diff --git a/gcc/testsuite/gcc.dg/torture/pr29584.c b/gcc/testsuite/gcc.dg/torture/pr29584.c
index 84bfddc5e1e..4cb51d27569 100644
--- a/gcc/testsuite/gcc.dg/torture/pr29584.c
+++ b/gcc/testsuite/gcc.dg/torture/pr29584.c
@@ -1,5 +1,5 @@
/* PR middle-end/29584 */
-/* { dg-do compile } */
+/* { dg-do compile { target { ilp32 || lp64 } } } */
extern void *foo1 (void);
extern void foo2 (void);