Commit 680f02e4 by Jakub Jelinek Committed by Jakub Jelinek

pr34966.c (atan): Only use asm on i?86/x86_64.

	* gcc.c-torture/compile/pr34966.c (atan): Only use asm
	on i?86/x86_64.

From-SVN: r131867
parent 62a37275
2008-01-26 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/pr34966.c (atan): Only use asm
on i?86/x86_64.
2008-01-26 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfofortran/34887
......@@ -4,7 +4,11 @@ __inline double
atan (double __x)
{
register double __result;
#if defined(__i386__) || defined(__x86_64__)
__asm __volatile__ ("" : "=t" (__result) : "0" (__x));
#else
__result = __x;
#endif
return __result;
}
......
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