https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83707
Bug ID: 83707 Summary: memcmp inline expansion causing g++.dg/eh/simd-3.C to fail on power7 -m32 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: acsawdey at gcc dot gnu.org Reporter: acsawdey at gcc dot gnu.org Target Milestone: --- Target: ppc32 power7 This is apparently due to the inline expansion code that went into gcc7. Haven't looked into what is going on yet but hopefully an easy fix. Code looks like this: .L8: bl abort .L6: bl __cxa_begin_catch bl __cxa_end_catch lis 9,.LANCHOR0@ha la 9,.LANCHOR0@l(9) li 10,512 stxvw4x 63,9,10 addi 7,9,512 lis 6,.LANCHOR1@ha la 8,.LANCHOR1@l(6) lwz 10,512(9) lwz 9,.LANCHOR1@l(6) subfc. 9,9,10 bne 0,.L7 lwz 10,4(7) lwz 9,4(8) subfc. 9,9,10 bne 0,.L7 lwz 10,8(7) lwz 9,8(8) subfc. 9,9,10 bne 0,.L7 lwz 10,12(7) lwz 9,12(8) subfc 9,9,10 .L7: subfe 10,10,10 popcntw 9,9 or. 9,9,10 bne 0,.L8