https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98597
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Also, it seems the shortcut for MEM_REF [&var, 0] is only correct if the types of var and MEM_REF are compatible, if I have say struct S { int a, int b; } var; then if MEM[&var, 0] has int type, then it shouldn't be printed as var, but as *(int *)&var or so. The patch has been committed without any patch review from what I can see, and it really shows up that it hasn't been reviewed. I think best would be to revert it, then fix all issues it has and then submit for patch review.