Re: [PATCH v2 1/2] driver: Do not warn about ineffective `-x' option if no inputs were given

2019-11-30 Thread Maciej W. Rozycki
On Fri, 29 Nov 2019, Joseph Myers wrote: > > * gcc.c (process_command): Only warn about an ineffective `-x' > > option if any input files have actually been supplied. > > OK. Applied, thanks for your review. Maciej

Re: [PATCH v2 1/2] driver: Do not warn about ineffective `-x' option if no inputs were given

2019-11-29 Thread Joseph Myers
On Fri, 29 Nov 2019, Maciej W. Rozycki wrote: > Fix an issue with the GCC driver and the `-x' option where a warning is > issued in an invocation like: > > $ riscv64-linux-gnu-gcc -print-multi-directory -x c++ > riscv64-linux-gnu-gcc: warning: '-x c++' after last input file has no effect > lib64

[PATCH v2 1/2] driver: Do not warn about ineffective `-x' option if no inputs were given

2019-11-29 Thread Maciej W. Rozycki
Fix an issue with the GCC driver and the `-x' option where a warning is issued in an invocation like: $ riscv64-linux-gnu-gcc -print-multi-directory -x c++ riscv64-linux-gnu-gcc: warning: '-x c++' after last input file has no effect lib64/lp64d $ where no inputs were given and hence the use of