ia64-asm-1.c: Add prototype for abort

* testsuite/gcc.dg/ia64-asm-1.c: Add prototype for abort
	* testsuite/gcc.dg/ia64-sync-1.c: Add prototype for abort and
	memcpy.
	* testsuite/gcc.dg/ia64-sync-2.c: Ditto.
	* testsuite/gcc.dg/ia64-sync-3.c: Ditto.

From-SVN: r88904
This commit is contained in:
Steve Ellcey 2004-10-11 21:02:48 +00:00 committed by Steve Ellcey
parent fc0ea003f9
commit f713f22977
5 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2004-10-11 Steve Ellcey <sje@cup.hp.com>
* testsuite/gcc.dg/ia64-asm-1.c: Add prototype for abort
* testsuite/gcc.dg/ia64-sync-1.c: Add prototype for abort and
memcpy.
* testsuite/gcc.dg/ia64-sync-2.c: Ditto.
* testsuite/gcc.dg/ia64-sync-3.c: Ditto.
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/eh/cleanup5.C: Add dg-options "".

View File

@ -1,6 +1,8 @@
/* { dg-do run { target ia64-*-* } } */
/* { dg-options } */
extern void abort (void);
/* Test that "=S" properly avoids the post-increment on the memory address. */
static void foo(int *x)

View File

@ -6,6 +6,9 @@
#include <ia64intrin.h>
extern void abort (void);
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
static int AI[12];
static int init_noret_si[12] = { 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0 };
static int test_noret_si[12] = { 1, 1, 1, 0, 1, 4, 22, -12, 7, 8, 9, 7 };

View File

@ -5,6 +5,9 @@
#include <ia64intrin.h>
extern void abort (void);
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
static int AI[18];
static int init_si[18] = { 0,0,0,1,0,0,0,0,-1,0,0,0,0,0,-1,0,0,0 };
static int test_si[18] = { 1,1,1,1,1,4,22,-12,7,8,9,7,1,-12,7,8,9,7 };

View File

@ -5,6 +5,9 @@
#include <ia64intrin.h>
extern void abort (void);
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
static int AI[4];
static int init_si[4] = { -30,-30,-50,-50 };
static int test_si[4] = { -115,-115,25,25 };