[Bug target/102226] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226

ktkachov at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ktkachov at gcc dot gnu.org
   Last reconfirmed||2021-09-07
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Reduced testcase
template  struct b { using c = a; };
template  class> using f = b;
template  class g>
using h = typename f::c;
struct i {
  template  using k = typename j::l;
};
struct m : i {
  using l = h;
};
class n {
public:
  char operator[](long o) {
m::l s;
return s[o];
  }
} p;
n r;
int q() {
  long d;
  for (long e; e; e++)
if (p[e] == r[e])
  d++;
  return d;
}

[Bug target/102226] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226

--- Comment #2 from Gilles Gouaillardet  
---
Created attachment 51421
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51421=edit
preprocessed reproducer

Here is the preprocessed reproducer

[Bug target/102226] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226

Richard Biener  changed:

   What|Removed |Added

 Target||aarch64
   Keywords||needs-reduction

--- Comment #1 from Richard Biener  ---
preprocessed source would be nice to have, using preprocessed source from
x86_64-linux doesn't work.