http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53427
Bug #: 53427
Summary: [4.8 Regression] Bootstrap failure
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Target: x86-64
On Linux/x86-64, bootstrap failed with -mavx:
[hjl@gnu-6 gcc]$ cat /tmp/foo.c
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;
}
[hjl@gnu-6 gcc]$ ./xgcc -B./ -S -O2 /tmp/foo.c -mavx -m64
/tmp/foo.c: In function \u2018GOMP_task\u2019:
/tmp/foo.c:14:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-6 gcc]$