https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109802
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2024-02-16
Summary|[regression] during IPA |[13 Regression] ICE using
|pass: analyzer: internal |dubious flexible arrays in
|compiler error (using |unions
|dubious flexible arrays in |
|unions) |
--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks for filing this bug report.
(In reply to Alejandro Colomar from comment #2)
> Here's a simplified version that will cause the same internal compiler error.
Trunk (GCC 14): ok: https://godbolt.org/z/4cjf6Khh3
GCC 13.2: ICE: https://godbolt.org/z/K4j97a4eb
GCC 12.3: ok: https://godbolt.org/z/1jfz8YTPj
...so it seems like this is fixed on trunk (for GCC 14) but still affects GCC
13.