------- Comment #12 from pinskia at gcc dot gnu dot org 2007-03-13 22:16
-------
Another testcase but it is not fixed by my patch as I did not fix the other
side:
int main(void)
{
double b = 234.0;
long long c;
double d = b;
__builtin_memcpy(&c, &b, sizeof(double));
long long e = c;
if (__builtin_memcmp (&e, &d, sizeof(double)) != 0)
__builtin_abort ();
return 0;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |blocker
GCC target triplet|hppa64-hp-hpux11.00, |FLOAT_WORDS_BIG_ENDIAN
|powerpc64-linux-gnu |targets
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30704