https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116595
Robin Dapp <rdapp at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=119547 CC| |jeffreyalaw at gmail dot com, | |rdapp at gcc dot gnu.org --- Comment #6 from Robin Dapp <rdapp at gcc dot gnu.org> --- This happens when compiling opencv (commit 46dbc57a865594a5f9141a3a3b6878764df6cc0d as specified in PR119547) with GCC 15 and as Kito said, it's a regression. IMHO this should be fixed. clang seems to have fixed it in the meanwhile? My example is very similar: #include <riscv_vector.h> void vsseg (float *a, vfloat32mf2_t b, vfloat32mf2_t c, unsigned long vl) { vfloat32mf2x2_t foo = vfloat32mf2x2_t (); }