From: Paul Koning Date: Fri, 31 Dec 2010 11:52:20 +0000 (-0500) Subject: ieee.exp: Skip if pdp11. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e3bb660a1b8db9f6f9938e79bc7f3e1bb85ce7f;p=gcc.git ieee.exp: Skip if pdp11. * gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11. * gcc.c-torture/compile/20000804-1.c: Skip if pdp11 -O0. * gcc.c-torture/compile/20020312-1.c: Ditto. * gcc.c-torture/compile/20040101-1.c: Skip if pdp11 -O1, -O2, or -Os. From-SVN: r168370 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 82959637820..199042c4115 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-12-31 Paul Koning + + * gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11. + * gcc.c-torture/compile/20000804-1.c: Skip if pdp11 -O0. + * gcc.c-torture/compile/20020312-1.c: Ditto. + * gcc.c-torture/compile/20040101-1.c: Skip if pdp11 -O1, -O2, or + -Os. + 2010-12-31 Thomas Koenig PR fortran/47065 diff --git a/gcc/testsuite/gcc.c-torture/compile/20000804-1.c b/gcc/testsuite/gcc.c-torture/compile/20000804-1.c index ff4110273be..0a63a32dfb7 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20000804-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20000804-1.c @@ -3,6 +3,7 @@ /* { dg-do assemble } */ /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */ /* { dg-skip-if "No 64-bit registers" { m32c-*-* } { "*" } { "" } } */ +/* { dg-skip-if "Not enough 64-bit registers" { pdp11-*-* } { "-O0" } { "" } } */ /* { dg-xfail-if "" { m6811-*-* m6812-*-* h8300-*-* } { "*" } { "" } } */ /* Copyright (C) 2000, 2003 Free Software Foundation */ diff --git a/gcc/testsuite/gcc.c-torture/compile/20020312-1.c b/gcc/testsuite/gcc.c-torture/compile/20020312-1.c index 182b7b01c79..bb950ff31fa 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20020312-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20020312-1.c @@ -2,6 +2,7 @@ two 32-bit registers. */ /* { dg-do assemble } */ /* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "" } } */ +/* { dg-skip-if "" { pdp11-*-* } { "-O0" } { "" } } */ /* PR optimization/5892 */ typedef struct { unsigned long a; unsigned int b, c; } A; diff --git a/gcc/testsuite/gcc.c-torture/compile/20040101-1.c b/gcc/testsuite/gcc.c-torture/compile/20040101-1.c index 7ddef7d00ee..baa0e4f93e1 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20040101-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20040101-1.c @@ -1,3 +1,5 @@ +/* { dg-skip-if "not enough registers" { pdp11-*-* } { "-O[12s]" } { "" } } */ + typedef unsigned short uint16_t; typedef unsigned int uint32_t; diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp b/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp index c23f32e85ab..25009e47c3e 100644 --- a/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp +++ b/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp @@ -1,6 +1,6 @@ # # Expect driver script for GCC Regression Tests -# Copyright (C) 1993, 1996, 2001, 2005, 2007, 2008 Free Software Foundation +# Copyright (C) 1993, 1996, 2001, 2005, 2007, 2008, 2010 Free Software Foundation # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ load_lib c-torture.exp # C torture test suite, and other contributors. # Disable tests on machines with no hardware support for IEEE arithmetic. -if { [istarget "vax-*-*"] || [ istarget "powerpc-*-*spe"] } { return } +if { [istarget "vax-*-*"] || [ istarget "powerpc-*-*spe"] || [istarget "pdp11-*-*"] } { return } if $tracelevel then { strace $tracelevel