* IA64 Test patches
@ 2004-10-11 20:47 Steve Ellcey
2004-10-11 20:53 ` Andrew Pinski
2004-10-11 20:56 ` Zack Weinberg
0 siblings, 2 replies; 3+ messages in thread
From: Steve Ellcey @ 2004-10-11 20:47 UTC (permalink / raw)
To: gcc-patches
Here is a patch to get rid of four test failures on IA64. The tests
have no prototypes for abort and/or memcpy and so they fail with
excessive warnings. Tested on IA64 HP-UX.
Ok to checkin?
Steve Ellcey
sje@cup.hp.com
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.
*** gcc.orig/gcc/testsuite/gcc.dg/ia64-asm-1.c Mon Oct 11 13:32:35 2004
--- gcc/gcc/testsuite/gcc.dg/ia64-asm-1.c Mon Oct 11 13:32:06 2004
***************
*** 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)
*** gcc.orig/gcc/testsuite/gcc.dg/ia64-sync-1.c Mon Oct 11 13:32:35 2004
--- gcc/gcc/testsuite/gcc.dg/ia64-sync-1.c Mon Oct 11 13:32:06 2004
***************
*** 6,11 ****
--- 6,14 ----
#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 };
*** gcc.orig/gcc/testsuite/gcc.dg/ia64-sync-2.c Mon Oct 11 13:32:35 2004
--- gcc/gcc/testsuite/gcc.dg/ia64-sync-2.c Mon Oct 11 13:32:06 2004
***************
*** 5,10 ****
--- 5,13 ----
#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 };
*** gcc.orig/gcc/testsuite/gcc.dg/ia64-sync-3.c Mon Oct 11 13:32:35 2004
--- gcc/gcc/testsuite/gcc.dg/ia64-sync-3.c Mon Oct 11 13:32:06 2004
***************
*** 5,10 ****
--- 5,13 ----
#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 };
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IA64 Test patches
2004-10-11 20:47 IA64 Test patches Steve Ellcey
@ 2004-10-11 20:53 ` Andrew Pinski
2004-10-11 20:56 ` Zack Weinberg
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Pinski @ 2004-10-11 20:53 UTC (permalink / raw)
To: sje; +Cc: gcc-patches
On Oct 11, 2004, at 4:44 PM, Steve Ellcey wrote:
> Here is a patch to get rid of four test failures on IA64. The tests
> have no prototypes for abort and/or memcpy and so they fail with
> excessive warnings. Tested on IA64 HP-UX.
>
> Ok to checkin?
These are considered obvious, at least considered that way by my
previous
patches which do the same thing.
Thanks,
Andrew Pinski
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IA64 Test patches
2004-10-11 20:47 IA64 Test patches Steve Ellcey
2004-10-11 20:53 ` Andrew Pinski
@ 2004-10-11 20:56 ` Zack Weinberg
1 sibling, 0 replies; 3+ messages in thread
From: Zack Weinberg @ 2004-10-11 20:56 UTC (permalink / raw)
To: sje; +Cc: gcc-patches
Steve Ellcey <sje@cup.hp.com> writes:
> Here is a patch to get rid of four test failures on IA64. The tests
> have no prototypes for abort and/or memcpy and so they fail with
> excessive warnings. Tested on IA64 HP-UX.
>
> Ok to checkin?
>
> Steve Ellcey
> sje@cup.hp.com
>
> 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.
OK.
This sort of thing falls under the obvious rule IMO.
zw
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-11 20:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 20:47 IA64 Test patches Steve Ellcey
2004-10-11 20:53 ` Andrew Pinski
2004-10-11 20:56 ` Zack Weinberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).