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 middle-end/80270] ICE in extract_bit_field_1 at gcc/expmed.c:1798


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;
}

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