https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121412
--- Comment #5 from ktkachov at gcc dot gnu.org --- Comment on attachment 62057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62057 Second sleeffoo.i reproducer >#pragma GCC aarch64 "arm_sve.h" >typedef svfloat32_t a; >typedef svfloat32x2_t b; >a c(); >b d(a e, a f) { > b g = svcreate2_f32(e, f); > return g; >} >void h(b); >void Sleef_hypotfx_u05sve() { > a i; > h(d(i, c())); >} This can be adjusted to be: #pragma GCC aarch64 "arm_sve.h" typedef svfloat32_t a; typedef svfloat32x2_t b; a c(); b d(a e, a f) { b g = svcreate2_f32(e, f); return g; } void h(b); svfloat32_t Sleef_hypotfx_u05sve(int x, svfloat32_t xx) { a i; h(d(i, c())); } to make the Sleef_hypotfx_u05sve declaration match the prototype in foo.ii