On Sat, 26 Aug 2017, Richard Biener wrote: > On August 26, 2017 12:51:57 AM GMT+02:00, Joseph Myers > <jos...@codesourcery.com> wrote: > >I'm seeing a build failure for s390x-linux-gnu that looks like it could > >be > >related to this change (build was OK at r251332, failed at r251358). > > Can you please open a bug? Can you confirm it fails the same way before > the patch if you use - flto?
Bug 82012 filed (as noted there, I don't know if the problem is in the compiler or libitm). I can confirm the same failure appears building the preprocessed source with a GCC 7 branch compiler with -flto added to the options, rebuilding trunk r251332 to check with that. Options used with GCC 7 branch to get the same error: s390x-glibc-linux-gnu-g++ -S -o /dev/null -ftls-model=initial-exec -mzarch -mhtm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -fabi-version=4 -g -O2 -fPIC beginend.ii -flto -- Joseph S. Myers jos...@codesourcery.com