diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-08 23:38:04 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-08 23:38:04 +0000 |
commit | 5e6197e9c2c4623dfb03f01a3e7134c0b908f646 (patch) | |
tree | a8ffe44522e3cf8a94584ed299c1c9bca9fc6c3c | |
parent | f3bd7a2cf42698100a4feb7fea4f9dc6a3da05da (diff) | |
download | gcc-5e6197e9c2c4623dfb03f01a3e7134c0b908f646.tar.gz |
* gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit
targets.
* gcc.c-torture/execute/20021024-1.x: Likewise.
* gcc.c-torture/execute/shiftdi.x: Likewise.
* g++.old-deja/g++.mike/p700.C: Handle 16-bit targets.
* g++.old-deja/g++.other/exprstmt1.C: Likewise.
* gcc.dg/20021018-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66618 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.mike/p700.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/exprstmt1.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20020404-1.x | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20021024-1.x | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/shiftdi.x | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20021018-1.c | 1 |
7 files changed, 35 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c13e512592d..5039b542dbb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2003-05-08 DJ Delorie <dj@redhat.com> + + * gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit + targets. + * gcc.c-torture/execute/20021024-1.x: Likewise. + * gcc.c-torture/execute/shiftdi.x: Likewise. + * g++.old-deja/g++.mike/p700.C: Handle 16-bit targets. + * g++.old-deja/g++.other/exprstmt1.C: Likewise. + * gcc.dg/20021018-1.c: Likewise. + 2003-05-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * g++.dg/other/packed1.C: Mark xfail for sparc*- not sparc-. diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p700.C b/gcc/testsuite/g++.old-deja/g++.mike/p700.C index ef1d5bfbcd5..5f52751639b 100644 --- a/gcc/testsuite/g++.old-deja/g++.mike/p700.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p700.C @@ -1,5 +1,6 @@ // { dg-do assemble } // { dg-options "-Wno-deprecated" } +// { dg-error "limited range of data type" "16-bit target" { target xstormy16-*-* } 0 } // prms-id: 700 //# 1 "../../../../libg++/etc/benchmarks/dhrystone.cc" diff --git a/gcc/testsuite/g++.old-deja/g++.other/exprstmt1.C b/gcc/testsuite/g++.old-deja/g++.other/exprstmt1.C index 50756543b8a..abe072999d1 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/exprstmt1.C +++ b/gcc/testsuite/g++.old-deja/g++.other/exprstmt1.C @@ -1,5 +1,7 @@ // { dg-do run } // { dg-options "-O" } +// { dg-error "limited range of data type" "16-bit target" { target xstormy16-*-* } 0 } +// { dg-error "shift count >=" "16-bit target" { target xstormy16-*-* } 0 } int main() { diff --git a/gcc/testsuite/gcc.c-torture/execute/20020404-1.x b/gcc/testsuite/gcc.c-torture/execute/20020404-1.x new file mode 100644 index 00000000000..25ed5786b83 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20020404-1.x @@ -0,0 +1,7 @@ +# 16-bit "int" +if { [istarget "xstormy16-*"] } { + return 1 +} + +return 0 + diff --git a/gcc/testsuite/gcc.c-torture/execute/20021024-1.x b/gcc/testsuite/gcc.c-torture/execute/20021024-1.x new file mode 100644 index 00000000000..25ed5786b83 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20021024-1.x @@ -0,0 +1,7 @@ +# 16-bit "int" +if { [istarget "xstormy16-*"] } { + return 1 +} + +return 0 + diff --git a/gcc/testsuite/gcc.c-torture/execute/shiftdi.x b/gcc/testsuite/gcc.c-torture/execute/shiftdi.x new file mode 100644 index 00000000000..25ed5786b83 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/shiftdi.x @@ -0,0 +1,7 @@ +# 16-bit "int" +if { [istarget "xstormy16-*"] } { + return 1 +} + +return 0 + diff --git a/gcc/testsuite/gcc.dg/20021018-1.c b/gcc/testsuite/gcc.dg/20021018-1.c index f11de4859ef..562aa88e62d 100644 --- a/gcc/testsuite/gcc.dg/20021018-1.c +++ b/gcc/testsuite/gcc.dg/20021018-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2 -fpic" } */ +/* { dg-error "overflow" "16-bit target" { target xstormy16-*-* } 0 } */ extern void abort (void); extern void exit (int); |