This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/53427] New: [4.8 Regression] Bootstrap failure


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: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: areg.melikadamyan@gmail.com, ubizjak@gmail.com
            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]$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]