https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68657
--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #5) > (In reply to Jakub Jelinek from comment #4) > > I run also into issues with -Werror=joined-warn-option=arg > > when testing that, so I've fixed it too. > > For the reference, that is PR48088, as far as I can tell. And if it gets fixed, I think it deserves a mention in https://gcc.gnu.org/gcc-6/changes.html (which is quite empty right now). I have seen many comments in forums and mailing lists complaining that those options don't work with -Werror= or #pragmas.