https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216
--- Comment #19 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to John Paul Adrian Glaubitz from comment #18) > I can confirm that the patch from comment #6 resolves the problem for me. Thanks for checking. > > Can we get it merged in one form or another? > Like I said in comment #10, it's OK to add this to GCC 7. However, if so, then I'd like to implement the -mbuiltin-trap=insn-FFFD and make it the default for Linux as discussed above with Rich.