Patch: xfail test for IA64 HP-UX

Steve Ellcey sje@cup.hp.com
Thu Mar 10 18:38:00 GMT 2005


I am going to assume I can xfail this test as an obvious fix.  GCC on
IA64 HP-UX uses the sytem unwind library and that library does not
provide _UA_END_OF_STACK which this test uses.  Other cleanup-* tests
that use _UA_END_OF_STACK only run on linux and darwin which is why they
don't show up as failures but this test was specifically changed to run
on all targets so I will xfail it instead of limiting it in the same was
as cleanup-[8,9,10,11].c.

I don't know if we want this change for the 4.0 branch but if someone
wants to approve this change for the 4.0 branch I can check it in there,
otherwise I will only check it in on the main line.

Steve Ellcey
sje@cup.hp.com


2005-03-10  Steve Ellcey  <sje@cup.hp.com>

	PR target/20095
	* gcc.dg//cleanup-5.c: xfail for ia64-hp-hpux11.*

*** gcc.orig/gcc/testsuite/gcc.dg/cleanup-5.c	Thu Mar 10 10:16:32 2005
--- gcc/gcc/testsuite/gcc.dg/cleanup-5.c	Thu Mar 10 10:24:55 2005
***************
*** 1,4 ****
! /* { dg-do run } */
  /* { dg-options "-fexceptions" } */
  /* Verify that cleanups work with exception handling.  */
  
--- 1,5 ----
! /* HP-UX libunwind.so doesn't provide _UA_END_OF_STACK */
! /* { dg-do run { xfail "ia64-hp-hpux11.*" } } */
  /* { dg-options "-fexceptions" } */
  /* Verify that cleanups work with exception handling.  */
  



More information about the Gcc-patches mailing list