Commit f713f229 by Steve Ellcey Committed by Steve Ellcey

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
parent fc0ea003
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 "".
......
/* { 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)
......
......@@ -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 };
......
......@@ -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 };
......
......@@ -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 };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment