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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #5)
> IMHO -x c++ should be sufficient to cause cc1plus to be used.

I'm not sure, -x c++ says that the next input(s) are to be treated as C++, but
in this case there is none.  One can have arbitrary mix of -x lang options on
the command line.  Are you suggesting that the dummy should be created in the
-x lang mode valid at the end of the command line, something else?
You can always use -xc++ /dev/null as an example of file that pretty much
always exists.

Reply via email to