https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103770
Bug ID: 103770 Summary: ICE related to VLA Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: muecker at gwdg dot de Target Milestone: --- Here is an ICE related to VLAs starting version 11 and seems fixed on trunk. https://godbolt.org/z/Y63dEq7KE struct struct_s { void* ptr; void* ptr2; void* ptr3; }; struct struct_s struct_create(int N, const long vla[N]); void fun(int N) { long vla[N]; struct struct_s st = struct_create(N, vla); }