Hi Lyon, Thanks for reporting and sorry for the failure.
>> The patch was updated as your comments above, re-tested on Power8 >> and committed in r11-4637. >> > > The new test gcc.dg/tree-ssa/pr96789.c fails on arm: > FAIL: gcc.dg/tree-ssa/pr96789.c scan-tree-dump dse3 "Deleted dead store:.*tmp" > > Can you check? > Could you help to provide the configuration command? I tried the one from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96376#c3, but I can't reproduce it with options -O2 -funroll-loops -ftree-vectorize -fdump-tree-dse-details. I guess I must miss something. BR, Kewen