https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534
--- Comment #4 from Boris Kolpackov <boris at kolpackov dot net> --- Thanks for the link to the patch submission though I find the "-fdirectives-only option is incompatible with assembly" statement puzzling. > So from what I understand this part is what you want: > > - "%(trad_capable_cpp) -lang-asm %(cpp_options) -fno-directives-only\ > + "%(trad_capable_cpp) -lang-asm %(cpp_options) %{!E:-fno-directives-only} \ > > Because -fno-directives-only is needed without -E. Hm, wouldn't that still break the second invocation (-fpreprocessed -fdirectives-only)? I think the correct fix is to remove -fno-directives-only altogether (provided the second issue is fixed, of course) leaving the user-specified -fdirectives-only to take effect regardless of the mode.