Commit 84b44e0f by Rainer Orth Committed by Rainer Orth

re PR target/47629 (gcc.target/i386/pr47312.c fails to link on Solaris 9)

	PR target/47629
	* gcc.target/i386/pr47312.c: Use dg-require-effective-target
	c99_runtime, dg-add-options c99_runtime.
	(main): Use __asm__.

From-SVN: r170049
parent 10968227
2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/47629
* gcc.target/i386/pr47312.c: Use dg-require-effective-target
c99_runtime, dg-add-options c99_runtime.
(main): Use __asm__.
2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/47400
* lib/target-supports.exp (check_ascii_locale_available): New proc.
* lib/target-supports-dg.exp (dg-require-ascii-locale): New proc.
......
......@@ -2,7 +2,9 @@
/* { dg-do link } */
/* { dg-require-effective-target lto } */
/* { dg-require-effective-target xop } */
/* { dg-require-effective-target c99_runtime } */
/* { dg-options "-O -flto -mno-sse3 -mxop" } */
/* { dg-add-options c99_runtime } */
extern double fma (double, double, double);
extern float fmaf (float, float, float);
......@@ -18,6 +20,6 @@ main ()
f = fmaf (f, f, f);
d = fma (d, d, d);
ld = fmal (ld, ld, ld);
asm volatile ("" : : "r" (&f), "r" (&d), "r" (&ld) : "memory");
__asm__ volatile ("" : : "r" (&f), "r" (&d), "r" (&ld) : "memory");
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment