------- Comment #7 from hjl dot tools at gmail dot com 2009-04-29 00:33 ------- (In reply to comment #6) > Andrew is right. There is no "known" alignment (or misalignment) as far > as the gimple code is concerned, only the natural alignment: > > send_probe (struct outdata * outdata, struct timeval * tp) > { > struct timeval * D.1240; > D.1240_2 = &outdata_1(D)->tv; > memcpy (D.1240_2, tp_3(D), 8); [tail call] > return; > } >
How does gimple handle typedef int foo __attribute__ ((aligned(1))); void bar (foo *p, char *b) { __builtin_memcpy (p, b, 30); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39954