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]

Committed: target-fpic-adjust g++.old-deja/g++.jason/thunk2.C


Looks like I missed this one last time.  I kept the dg-bogus test,
because that one looks like a link-time test, which target fpic
doesn't do.

Committed as obvious after checking that CRIS MMIX and SH (the
latter emitting neither warning nor error) liked it; fixes the
fpic FAIL on cris-elf.

	* g++.old-deja/g++.jason/thunk2.C: Guard test with { target fpic }.

Index: g++.old-deja/g++.jason/thunk2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.jason/thunk2.C,v
retrieving revision 1.9
diff -p -u -r1.9 thunk2.C
--- g++.old-deja/g++.jason/thunk2.C	20 Jun 2005 06:45:26 -0000	1.9
+++ g++.old-deja/g++.jason/thunk2.C	22 Oct 2005 20:49:17 -0000
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { 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 }
 // Test that non-variadic function calls using thunks and PIC work right.

brgds, H-P


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