https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Boris Kolpackov from comment #4)
> 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.

The documentation says specifically-fdirectives-only is ignored if
-fpreprocessed is supplied. So it will never break the second invocation.

Reply via email to