https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114639

--- Comment #4 from Kito Cheng <kito at gcc dot gnu.org> ---
Reduced case:
```c
typedef long c;
#pragma riscv intrinsic "vector"
template <unsigned long> struct d {};
struct e {
  using f = d<0>;
};
struct g {
  using f = e::f;
};
template <typename, int> using h = g::f;
template <unsigned long i> long k(d<i>);
vbool16_t j(vuint64m4_t a) {
  c b;
  return __riscv_vmsne_vx_u64m4_b16(a, b, k(h<c, 2>()));
}

```

Reply via email to