20020404-1.x: New, skip for 16-bit targets.

* 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.

From-SVN: r66618
This commit is contained in:
DJ Delorie 2003-05-08 19:38:04 -04:00 committed by DJ Delorie
parent bd19c9f4f2
commit 001db0e079
7 changed files with 35 additions and 0 deletions

View File

@ -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-.

View File

@ -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"

View File

@ -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()
{

View File

@ -0,0 +1,7 @@
# 16-bit "int"
if { [istarget "xstormy16-*"] } {
return 1
}
return 0

View File

@ -0,0 +1,7 @@
# 16-bit "int"
if { [istarget "xstormy16-*"] } {
return 1
}
return 0

View File

@ -0,0 +1,7 @@
# 16-bit "int"
if { [istarget "xstormy16-*"] } {
return 1
}
return 0

View File

@ -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);