https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123511
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Summary|ICE: in |ICE: in
|emit_library_call_value_1, |emit_library_call_value_1,
|at calls.cc:4380 with |at calls.cc:4380 with
|-fcommon |-fcommon and SSO with
| |packed struct and complex
| |short
Last reconfirmed| |2026-01-11
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct {
_Complex short c;
} __attribute__((__packed__,
__scalar_storage_order__("big-endian")
)) s;
short foo()
{
return s.c;
}
```