------- Comment #2 from dominiq at lps dot ens dot fr 2009-05-04 06:30 ------- Confirmed on i686-apple-darwin9, array_memcpy_4.f90.003t.original is
MAIN__ () { struct t d[5]; struct t s[5]; static integer(kind=4) options.0[8] = {68, 255, 0, 0, 0, 1, 0, 1}; _gfortran_set_options (8, (void *) &options.0); (void) __builtin_memcpy ((void *) &d, (void *) &s, 60); } and does not depend on the optimization level. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40015