This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
new compile test
- To: law at cygnus dot com
- Subject: new compile test
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Sat, 23 Jan 1999 12:01:50 +0000 (GMT)
- Cc: egcs at cygnus dot com
compile/990107-1.c -O1 fails for SH3E with an abort. That this failure
is triggered on the SH3E is connected with the SH3E non-ANSI precision
for double. Here is a test that fails for targets with ordinary
floating point:
int
f (f)
float f;
{
long long *ip = (long long *) &f;
return (*ip & 0x7ff0000000000000LL ) != 0x7ff0000000000000LL ;
}