https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102991
--- Comment #3 from luoxhu at gcc dot gnu.org --- (In reply to Kewen Lin from comment #2) > (In reply to luoxhu from comment #1) > > Couldn't reproduce on rain6p1 (P10): > > > > It's weird, I can reproduce this on rain6p1. > > FAIL: gcc.dg/vect/vect-simd-17.c execution test > FAIL: gcc.dg/vect/vect-simd-17.c -flto -ffat-lto-objects execution test > > >------->-------=== gcc Summary === > > # of expected passes>--->-------2 > # of unexpected failures>-------2 > > Probably due to you still specified --with-cpu=power9 instead of > --with-cpu=power10 in gcc configuration? Thanks, confirmed. --with-cpu=power9 doesn't fail on both P9 and P10 with the patch. It aborts at vect-simd-17.c of line 274.