This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
- 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: Mon, 18 Jul 2011 18:48:11 +0000
- Subject: [Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49780
Summary: internal compiler error: in create_mem_ref, at
tree-ssa-address.c:806
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
CC: ubizjak@gmail.com
[hjl@gnu-6 ilp32-36]$ cat x.i
typedef long long __m256i __attribute__ ((__vector_size__ (32),
__may_alias__));
typedef union
{
__m256i x;
char a[32];
} union256i_b;
int check_union256i_b (union256i_b u, const char *v)
{
int i;
int err = 0;
for (i = 0; i < (sizeof (u.a) / sizeof ((u.a)[0])); i++)
if (u.a[i] != v[i])
{
err++;
}
return err;
}
[hjl@gnu-6 ilp32-36]$ make
/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -S -o x.s -mx32 -O2 -mavx
x.i
x.i: In function âcheck_union256i_bâ:
x.i:8:5: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [x.s] Error 1
[hjl@gnu-6 ilp32-36]$