This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/53373] [4.8 regression] ICE on valid code with -mavx
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 20 May 2012 20:07:59 +0000
- Subject: [Bug rtl-optimization/53373] [4.8 regression] ICE on valid code with -mavx
- Auto-submitted: auto-generated
- References: <bug-53373-4@http.gcc.gnu.org/bugzilla/>
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.