https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124358
--- Comment #6 from Wang Jinghao <zheng.xianyuwang at gmail dot com> --- (In reply to Andrew Pinski from comment #5) > (In reply to Richard Biener from comment #2) > > You have to explain more what you think goes on / wrong. I do not > > understand what you are refering to. > > Yes the bug reporter was not clear. I figured out a decent self-contained > testcase which shows the issue (comment #3) and added in comment #4 some > analysis of what looks to be going wrong. > > r12-6382-g51d464b608b38b (part of which was backported as > r11-9688-gd1f4dfd409dedf). Thank you for your help description! Btw,the problems will not occur if we use `int (*const ptr)[4] = arr`.
