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 ([email protected])