https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122270
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2025-10-13
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced:
```
#pragma riscv intrinsic "vector"
void a(vfloat32m1_t b, vfloat32m1x4_t *c) {
*c = __riscv_vset_v_f32m1_f32m1x4(*c, 3, b);
}
```
Note we also get an ICE without using -march=rv64g_v with the C++ front-end
(but that is a different bug).
gcc_assert (!gimple_has_lhs (orig_stmt) || !gimple_has_lhs (stmt)
|| gimple_get_lhs (orig_stmt) == gimple_get_lhs (stmt));