On Mon, 28 Aug 2017, Joseph Myers wrote: > On Mon, 28 Aug 2017, Joseph Myers wrote: > > > 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. > > Now confirmed with -flto with trunk r251332.
Thanks. This is a target issue -- targets implementing TARGET_OPTION_VALID_ATTRIBUTE_P need to also implement TARGET_CAN_INLINE_P which s390 fails to. nios2 as well. Richard.