Patch: PR testsuite/27705 - test does not make sense on IA64

Steve Ellcey sje@cup.hp.com
Fri Jun 2 17:09:00 GMT 2006


This test (gcc.dg/sibcall-7.c) is failing on IA64 platforms because it
is not a valid test given the IA64 run time architecture.

Since this test was added to the main line and the 4.1 branch I would
like to apply this patch to both places.

Tested on IA64 Linux and HP-UX.
Ok to apply to main line and 4.1 branch?

Steve Ellcey
sje@cup.hp.com


2006-06-02  Steve Ellcey  <sje@cup.hp.com>

	PR testsuite/27705
	* gcc.dg/sibcall-7.c: Do not run on ia64-*-* platforms.


Index: gcc.dg/sibcall-7.c
===================================================================
--- gcc.dg/sibcall-7.c	(revision 114325)
+++ gcc.dg/sibcall-7.c	(working copy)
@@ -4,7 +4,10 @@
    Copyright (C) 2006 Free Software Foundation Inc.
    Original test by Hans-Peter Nilsson  <hp@bitrange.com>  */
 
-/* { dg-do run } */
+/* On IA64 the call frame is allocated on the register stack, not the
+   normal stack.  */
+
+/* { dg-do run { target { ! "ia64-*-*" } } } */
 /* { dg-options "-O2 -fno-optimize-sibling-calls" } */
 
 



More information about the Gcc-patches mailing list