This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit, testsuite] Skip one more PIC test case on SPU


Hello,

there's one more test case that fails on the SPU because -fPIC mode
would require unsupported run-time relocations.  The patch below
adds a dg-skip-if for SPU, as was done for the other instances here:
http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00197.html

Tested on spu-elf, committed to mainline and 4.3 as obvious.

Bye,
Ulrich


ChangeLog:

	* g++.old-deja/g++.jason/thunk2.C: Skip on SPU.

Index: gcc/testsuite/g++.old-deja/g++.jason/thunk2.C
===================================================================
*** gcc/testsuite/g++.old-deja/g++.jason/thunk2.C	(revision 144779)
--- gcc/testsuite/g++.old-deja/g++.jason/thunk2.C	(working copy)
***************
*** 1,6 ****
--- 1,7 ----
  // { dg-do run { target fpic } }
  // { dg-options "-fPIC" }
  // { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))|\[Bb\]ad fixup at .DATA.:" "PIC unsupported" { xfail *-*-netware* } 0 }
+ // { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } }
  // Test that non-variadic function calls using thunks and PIC work right.
  
  struct A {
-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]