aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog11
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/align-3.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr23467.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr36093.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr43783.c2
-rw-r--r--gcc/testsuite/gcc.dg/const-elim-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr36400.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loop-1.c4
8 files changed, 23 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0a90bd6..29e6744 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,16 @@
2018-11-19 Paul Koning <ni1d@arrl.net>
+ * gcc.c-torture/execute/align-3.c: Skip if pdp11.
+ * gcc.c-torture/execute/pr23467.c: Ditto.
+ * gcc.c-torture/execute/pr36093.c: Ditto.
+ * gcc.c-torture/execute/pr43783.c: Ditto.
+ * gcc.dg/const-elim-2.c: Xfail if pdp11.
+ * gcc.dg/torture/pr36400.c: Ditto.
+ * gcc.dg/tree-ssa/loop-1.c: Xfail for pdp11. Add pdp11 to check
+ for jsr.
+
+2018-11-19 Paul Koning <ni1d@arrl.net>
+
* lib/target-supports.exp (check_weak_available): Return "no" for
pdp11.
diff --git a/gcc/testsuite/gcc.c-torture/execute/align-3.c b/gcc/testsuite/gcc.c-torture/execute/align-3.c
index 2838e77..7478c9e 100644
--- a/gcc/testsuite/gcc.c-torture/execute/align-3.c
+++ b/gcc/testsuite/gcc.c-torture/execute/align-3.c
@@ -1,3 +1,5 @@
+/* { dg-skip-if "small alignment" { pdp11-*-* } } */
+
void func(void) __attribute__((aligned(256)));
void func(void)
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr23467.c b/gcc/testsuite/gcc.c-torture/execute/pr23467.c
index 71ec3da..97a5af7 100644
--- a/gcc/testsuite/gcc.c-torture/execute/pr23467.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr23467.c
@@ -1,3 +1,5 @@
+/* { dg-skip-if "small alignment" { pdp11-*-* } } */
+
struct s1
{
int __attribute__ ((aligned (8))) a;
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr36093.c b/gcc/testsuite/gcc.c-torture/execute/pr36093.c
index 9549bc3..dac5720 100644
--- a/gcc/testsuite/gcc.c-torture/execute/pr36093.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr36093.c
@@ -1,3 +1,5 @@
+/* { dg-skip-if "small alignment" { pdp11-*-* } } */
+
extern void abort (void);
typedef struct Bar {
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr43783.c b/gcc/testsuite/gcc.c-torture/execute/pr43783.c
index 3880026..1eff2b9 100644
--- a/gcc/testsuite/gcc.c-torture/execute/pr43783.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr43783.c
@@ -1,3 +1,5 @@
+/* { dg-skip-if "small alignment" { pdp11-*-* } } */
+
typedef __attribute__((aligned(16)))
struct {
unsigned long long w[3];
diff --git a/gcc/testsuite/gcc.dg/const-elim-2.c b/gcc/testsuite/gcc.dg/const-elim-2.c
index a6cc1a4..bc465ca 100644
--- a/gcc/testsuite/gcc.dg/const-elim-2.c
+++ b/gcc/testsuite/gcc.dg/const-elim-2.c
@@ -1,7 +1,7 @@
/* The string constant in this test case should be emitted exactly once. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
-/* { dg-final { scan-assembler-times "hi there" 1 { xfail nvptx-*-* } } } */
+/* { dg-final { scan-assembler-times "hi there" 1 { xfail nvptx-*-* pdp11-*-* } } } */
static inline int returns_23() { return 23; }
diff --git a/gcc/testsuite/gcc.dg/torture/pr36400.c b/gcc/testsuite/gcc.dg/torture/pr36400.c
index fa2591e..8d21ef84 100644
--- a/gcc/testsuite/gcc.dg/torture/pr36400.c
+++ b/gcc/testsuite/gcc.dg/torture/pr36400.c
@@ -14,4 +14,4 @@ void baz()
barptr->some_string = "Everything OK";
}
-/* { dg-final { scan-assembler "Everything OK" { xfail nvptx-*-* } } } */
+/* { dg-final { scan-assembler "Everything OK" { xfail nvptx-*-* pdp11-*-* } } } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
index 1862750..389a1a1 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
@@ -46,13 +46,13 @@ int xxx(void)
/* CRIS keeps the address in a register. */
/* m68k sometimes puts the address in a register, depending on CPU and PIC. */
-/* { dg-final { scan-assembler-times "foo" 5 { xfail hppa*-*-* ia64*-*-* sh*-*-* cris-*-* crisv32-*-* fido-*-* m68k-*-* i?86-*-mingw* i?86-*-cygwin* x86_64-*-mingw* visium-*-* nvptx*-*-* } } } */
+/* { dg-final { scan-assembler-times "foo" 5 { xfail hppa*-*-* ia64*-*-* sh*-*-* cris-*-* crisv32-*-* fido-*-* m68k-*-* i?86-*-mingw* i?86-*-cygwin* x86_64-*-mingw* visium-*-* nvptx*-*-* pdp11*-*-* } } } */
/* { dg-final { scan-assembler-times "foo,%r" 5 { target hppa*-*-* } } } */
/* { dg-final { scan-assembler-times "= foo" 5 { target ia64*-*-* } } } */
/* { dg-final { scan-assembler-times "call\[ \t\]*_foo" 5 { target i?86-*-mingw* i?86-*-cygwin* } } } */
/* { dg-final { scan-assembler-times "call\[ \t\]*foo" 5 { target x86_64-*-mingw* } } } */
/* { dg-final { scan-assembler-times "jsr|bsrf|blink\ttr?,r18" 5 { target sh*-*-* } } } */
/* { dg-final { scan-assembler-times "Jsr \\\$r" 5 { target cris-*-* } } } */
-/* { dg-final { scan-assembler-times "\[jb\]sr" 5 { target fido-*-* m68k-*-* } } } */
+/* { dg-final { scan-assembler-times "\[jb\]sr" 5 { target fido-*-* m68k-*-* pdp11-*-* } } } */
/* { dg-final { scan-assembler-times "bra *tr,r\[1-9\]*,r21" 5 { target visium-*-* } } } */
/* { dg-final { scan-assembler-times "(?n)\[ \t\]call\[ \t\].*\[ \t\]foo," 5 { target nvptx*-*-* } } } */