https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118869
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |compile-time-hog, | |ice-on-valid-code --- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- Please always attach testcases. godbolt links are fine, but we want them pasted inline if not too long or attached as well for completeness. ``` typedef __SIZE_TYPE__ size_t; struct S1 { unsigned char pad1; unsigned char val; }; extern unsigned char t[256]; struct S1 foo(struct S1 a, size_t i) { a.val = t[i]; return __builtin_assoc_barrier(a); } ```