From f713f2297716abda1bfae1d27c6aedfc7ad37998 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Mon, 11 Oct 2004 21:02:48 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.dg/ia64-asm-1.c | 2 ++ gcc/testsuite/gcc.dg/ia64-sync-1.c | 3 +++ gcc/testsuite/gcc.dg/ia64-sync-2.c | 3 +++ gcc/testsuite/gcc.dg/ia64-sync-3.c | 3 +++ 5 files changed, 19 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 27a1bace364..624e57ef301 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2004-10-11 Steve Ellcey + + * 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 * g++.dg/eh/cleanup5.C: Add dg-options "". diff --git a/gcc/testsuite/gcc.dg/ia64-asm-1.c b/gcc/testsuite/gcc.dg/ia64-asm-1.c index 48b24d31a7a..7222bbd214b 100644 --- a/gcc/testsuite/gcc.dg/ia64-asm-1.c +++ b/gcc/testsuite/gcc.dg/ia64-asm-1.c @@ -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) diff --git a/gcc/testsuite/gcc.dg/ia64-sync-1.c b/gcc/testsuite/gcc.dg/ia64-sync-1.c index d2a9b0bb6e8..c33bf3bf338 100644 --- a/gcc/testsuite/gcc.dg/ia64-sync-1.c +++ b/gcc/testsuite/gcc.dg/ia64-sync-1.c @@ -6,6 +6,9 @@ #include +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 }; diff --git a/gcc/testsuite/gcc.dg/ia64-sync-2.c b/gcc/testsuite/gcc.dg/ia64-sync-2.c index 8d745b01535..e7dd65ff5bc 100644 --- a/gcc/testsuite/gcc.dg/ia64-sync-2.c +++ b/gcc/testsuite/gcc.dg/ia64-sync-2.c @@ -5,6 +5,9 @@ #include +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 }; diff --git a/gcc/testsuite/gcc.dg/ia64-sync-3.c b/gcc/testsuite/gcc.dg/ia64-sync-3.c index e718c1115e2..c2772f759b6 100644 --- a/gcc/testsuite/gcc.dg/ia64-sync-3.c +++ b/gcc/testsuite/gcc.dg/ia64-sync-3.c @@ -5,6 +5,9 @@ #include +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 };