diff mbox

[SPARC] Fix gcc.dg/lto/20090210 failure

Message ID 201011191102.23609.ebotcazou@adacore.com
State New
Headers show

Commit Message

Eric Botcazou Nov. 19, 2010, 10:02 a.m. UTC
Fiddling with -fPIC like that doesn't work on the SPARC.

Tested on sparc-sun-solaris2.{9,10}, applied on the mainline.


2010-11-19  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/lto/20090210_1.c: Do not pass -fPIC on the SPARC.
diff mbox

Patch

Index: gcc.dg/lto/20090210_1.c
===================================================================
--- gcc.dg/lto/20090210_1.c	(revision 166899)
+++ gcc.dg/lto/20090210_1.c	(working copy)
@@ -1,4 +1,4 @@ 
-/* { dg-options "-fPIC" }  */
+/* { dg-options "-fPIC" { target { ! sparc*-*-* } } } */
 static void
 f (int n)
 {