[Bug target/122763] New: aarch64: ICE when laying out arguments of size 0
alfierichards at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 19 13:42:21 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122763
Bug ID: 122763
Summary: aarch64: ICE when laying out arguments of size 0
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: alfierichards at gcc dot gnu.org
Target Milestone: ---
In aarch64, when laying out arguments of size 0, then there is potential to
cause and ICE.
Reproducer:
>typedef struct es {} Empty;
>int foo(int, int, int, int, int, int, int, int, Empty);
>int bar() {
> Empty e;
> return foo(0,0,0,0,0,0,0,0,e);
>}
Bug introduced by: r16-5076-g7197d8062fddc2
Noticed by Iain Sandoe (idsandoe@googlemail.com)
More information about the Gcc-bugs
mailing list