https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84155
--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > There is an important caveat to this fix, which has me very worried: > On top of removal of uncalled code making the bug disappear, I cannot > see any difference in the tree dump between the working testcase and > the failing version. Confirmed. However looking to the assembly for the first test, I see ... movq $4, (%rcx) #, MEM[(struct array_t[0:] *)_21][_23].child.dtype.elem_len ... movb $1, (%rcx) #, MEM[(struct array_t[0:] *)_21][_23].child.dtype.rank ... movb $1, (%rax) #, MEM[(struct array_t[0:] *)_21][_23].child.dtype.type ... for the working case that are not present without the patch.