http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53373
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.8 regression] ICE on |[4.8 regression] ICE on |valid code with |valid code with -mavx |-march-native | --- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-20 20:07:59 UTC --- A small testcase struct gomp_task { void *fn_data; }; extern void *gomp_malloc (unsigned long int); void GOMP_task (void (*fn) (void *), void *data, void (*cpyfn) (void *, void *), long arg_size, long arg_align) { struct gomp_task *task; char *arg; task = gomp_malloc (sizeof (*task) + arg_size + arg_align - 1); __builtin_memcpy (arg, data, arg_size); task->fn_data = arg; } compiled with -m64 -mavx -O2.