Commit 33ea7fa0 by Jakub Jelinek Committed by Jakub Jelinek

re PR target/36090 (ppc64 cacoshl miscompilation)

	PR target/36090
	* gcc.c-torture/execute/20080502-1.c: New test.

From-SVN: r135508
parent 4ac3f385
2008-05-18 Jakub Jelinek <jakub@redhat.com>
PR target/36090
* gcc.c-torture/execute/20080502-1.c: New test.
2008-05-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gfortran.dg/stat_1.f90: Skip on mingw.
......
/* PR target/36090 */
extern void abort (void);
long double __attribute__ ((noinline)) foo (long double x)
{
return __builtin_signbit (x) ? 3.1415926535897932384626433832795029L : 0.0;
}
int
main (void)
{
if (foo (-1.0L) != 3.1415926535897932384626433832795029L)
abort ();
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