This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xstormy16: skip tests requiring 32-bit targets


More cleanups.  The three new files are identical, one copy is
attached at the end here.

2003-05-06  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.

Index: g++.old-deja/g++.mike/p700.C
===================================================================
RCS file: /cvs/uberbaum/gcc/testsuite/g++.old-deja/g++.mike/p700.C,v
retrieving revision 1.8
diff -p -2 -r1.8  g++.old-deja/g++.mike/p700.C
*** g++.old-deja/g++.mike/p700.C	1 May 2003 02:02:45 -0000	1.8
--- g++.old-deja/g++.mike/p700.C	7 May 2003 01:18:34 -0000
***************
*** 1,4 ****
--- 1,5 ----
  // { dg-do assemble  }
  // { dg-options "-Wno-deprecated" }
+ // { dg-error "limited range of data type" "16-bit target" { target xstormy16-*-* } 0 }
  // prms-id: 700
  
Index: g++.old-deja/g++.other/exprstmt1.C
===================================================================
RCS file: /cvs/uberbaum/gcc/testsuite/g++.old-deja/g++.other/exprstmt1.C,v
retrieving revision 1.2
diff -p -2 -r1.2  g++.old-deja/g++.other/exprstmt1.C
*** g++.old-deja/g++.other/exprstmt1.C	1 May 2003 02:02:49 -0000	1.2
--- g++.old-deja/g++.other/exprstmt1.C	7 May 2003 01:18:34 -0000
***************
*** 1,4 ****
--- 1,6 ----
  // { 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()
Index: gcc.dg/20021018-1.c
===================================================================
RCS file: /cvs/uberbaum/gcc/testsuite/gcc.dg/20021018-1.c,v
retrieving revision 1.1
diff -p -2 -r1.1  gcc.dg/20021018-1.c
*** gcc.dg/20021018-1.c	21 Oct 2002 20:27:14 -0000	1.1
--- gcc.dg/20021018-1.c	7 May 2003 01:18:34 -0000
***************
*** 1,4 ****
--- 1,5 ----
  /* { dg-do run } */
  /* { dg-options "-O2 -fpic" } */
+ /* { dg-error "overflow" "16-bit target" { target xstormy16-*-* } 0 } */
  
  extern void abort (void);

========== gcc.c-torture/execute/*.x
# 16-bit "int"
if { [istarget "xstormy16-*"] } {
	return 1
}

return 0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]