https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84479
Bug ID: 84479 Summary: [8 Regression] cryptopp miscompilation on powerpc64le starting with r256656 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- cryptopp is miscompiled starting with r256656, in particular rijndael-simd.cpp at -O2 -fstack-protector-strong -fPIC. Reproduceable on gcc112.fsffrance.org: cp -a ~jakub/cryptopp ~/cryptopp cd ~/cryptopp .../cc1plus -quiet -nostdinc -O2 -fstack-protector-strong -fPIC rijndael-simd.ii /opt/cfarm/gcc8-r257824/bin/g++ -DNDEBUG -O2 -fstack-protector-strong -fPIC -pthread -pipe -c rijndael-simd.s -o rijndael-simd.o; CXX=/opt/cfarm/gcc8-r257824/bin/g++ CXXFLAGS="-DNDEBUG -g2 -O2 -fstack-protector-strong" make -j20; LD_LIBRARY_PATH=/opt/cfarm/gcc8-r257824/lib64/ ./cryptest.exe tv aes If the cc1plus above is r256653 or earlier, all tests pass: Testing SymmetricCipher algorithm AES/ECB. .... Testing SymmetricCipher algorithm AES/CBC. ........ Testing SymmetricCipher algorithm AES/CFB. ....... Testing SymmetricCipher algorithm AES/OFB. .... Testing SymmetricCipher algorithm AES/CTR. ............. Tests complete. Total tests = 36. Failed tests = 0. , if it is r256656 all tests fail: ... Tests complete. Total tests = 36. Failed tests = 36. SOME TESTS FAILED!