From: Paul Koning Date: Tue, 20 Nov 2018 01:54:46 +0000 (-0500) Subject: align-3.c: Skip if pdp11. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b3be1b4dd755465761c63132f540a9169f05997;p=gcc.git align-3.c: Skip if pdp11. * 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. From-SVN: r266299 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0a90bd6f21f..29e67449752 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2018-11-19 Paul Koning + + * 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 * lib/target-supports.exp (check_weak_available): Return "no" for diff --git a/gcc/testsuite/gcc.c-torture/execute/align-3.c b/gcc/testsuite/gcc.c-torture/execute/align-3.c index 2838e773245..7478c9e4a19 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 71ec3da424b..97a5af7780f 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 9549bc306b9..dac5720fad7 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 3880026c405..1eff2b9808c 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 a6cc1a406a8..bc465cabaca 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 fa2591e1b7c..8d21ef84791 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 18627505180..389a1a19ff3 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*-*-* } } } */