------- 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