This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30634] FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2007 17:13:42 -0000
- Subject: [Bug target/30634] FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90
- References: <bug-30634-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pinskia at gcc dot gnu dot org 2007-02-04 17:13 -------
Can you try the following C code?
double f(void)
{
long long t = -1;
double t1;
__builtin_memcpy(&t1, &t, sizeof(long long));
return t;
}
If the above is broken also, then my patch just exposed the above latent bug
really.
Also I don't see anything wrong with the expand's RTL. The difference between
4.1.1 and 4.2's RTL is that we don't go through memory for the case of memcpy
any more.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30634