https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91196
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #3 from anlauf at gcc dot gnu.org --- Should work in gcc-13 after the fixes for pr107441 and pr107444. I get: logical(kind=1) foo (void * x, integer(kind=4)[1] * y, integer(kind=4) * z, integer(kind=4) z2, logical(kind=1) .z2) and in the main: static logical(kind=1) foo (void *, integer(kind=4)[1] *, integer(kind=4) *, integer(kind=4), logical(kind=1)); Note the update on the ABI documentation. Tobias: can you please check?