[Bug target/123470] [13/14/15/16 Regression] ICE in expand_stack_alignment with passing a 32byte aligned type to main

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 8 06:10:46 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123470

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[13/14/15/16 Regression]    |[13/14/15/16 Regression]
                   |ICE in                      |ICE in
                   |expand_stack_alignment with |expand_stack_alignment with
                   |passing a 32byte vector to  |passing a 32byte aligned
                   |main                        |type to main

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Another testcase:
```
struct f
{
  char a[32];
} __attribute__((aligned(32)));
int main(struct f x) {}
```

This started with the ABI changed ...


More information about the Gcc-bugs mailing list