public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH]: Fix LTO testsuite case on sparc
@ 2010-03-13  0:56 David Miller
  2010-03-13  1:05 ` Janis Johnson
  2010-03-13  8:09 ` Jakub Jelinek
  0 siblings, 2 replies; 5+ messages in thread
From: David Miller @ 2010-03-13  0:56 UTC (permalink / raw)
  To: gcc-patches


Like other tests that want to link against the __sync_* primitives, we
have to force "-mcpu=v9" on sparc to make sure those symbols will
actually be there.

Ok to commit?

2010-03-12  David S. Miller  <davem@davemloft.net>

	* gcc.dg/lto/20090313_0.c: Add -mcpu=v9 to dg-lto-options on
	sparc.

diff --git a/gcc/testsuite/gcc.dg/lto/20090313_0.c b/gcc/testsuite/gcc.dg/lto/20090313_0.c
index 120ba3c..523ae2d 100644
--- a/gcc/testsuite/gcc.dg/lto/20090313_0.c
+++ b/gcc/testsuite/gcc.dg/lto/20090313_0.c
@@ -1,3 +1,4 @@
+/* { dg-lto-options "-mcpu=v9" { target sparc*-*-* } } */
 void
 _cairo_clip_path_reference () {
   int a;

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-13 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-13  0:56 [PATCH]: Fix LTO testsuite case on sparc David Miller
2010-03-13  1:05 ` Janis Johnson
2010-03-13  7:38   ` David Miller
2010-03-13  8:09 ` Jakub Jelinek
2010-03-13 20:25   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).