This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/80270] ICE in extract_bit_field_1 at gcc/expmed.c:1798
- From: "aivchenk at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Apr 2017 12:13:28 +0000
- Subject: [Bug middle-end/80270] ICE in extract_bit_field_1 at gcc/expmed.c:1798
- Auto-submitted: auto-generated
- References: <bug-80270-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80270
--- Comment #2 from Alexander Ivchenko <aivchenk at gmail dot com> ---
Another test that fails similarly, but already at "-O0":
typedef int v8 __attribute__ ((vector_size (8)));
struct S2
{
v8 s2f2;
int* f3;
};
int foo (int i)
{
register struct S2 b asm ("xmm0");
int k = 5;
b.f3 = &k;
b.f3 = b.f3 + i;
return *b.f3;
}