Re: PR driver/91130 Use CL_DRIVER when handling of COLLECT_GCC_OPTIONS in lto-wrapper.c

2019-08-12 Thread Richard Biener
On Mon, 12 Aug 2019, Richard Biener wrote: > On Wed, 7 Aug 2019, Richard Earnshaw (lists) wrote: > > > On 07/08/2019 17:15, Jakub Jelinek wrote: > > > On Wed, Aug 07, 2019 at 05:08:28PM +0100, Richard Earnshaw (lists) wrote: > > > > > Though, I'm fine if you commit your patch now as a fix and Ric

Re: PR driver/91130 Use CL_DRIVER when handling of COLLECT_GCC_OPTIONS in lto-wrapper.c

2019-08-12 Thread Richard Biener
On Wed, 7 Aug 2019, Richard Earnshaw (lists) wrote: > On 07/08/2019 17:15, Jakub Jelinek wrote: > > On Wed, Aug 07, 2019 at 05:08:28PM +0100, Richard Earnshaw (lists) wrote: > > > > Though, I'm fine if you commit your patch now as a fix and Richi's patch > > > > with the above incremental change i

Re: PR driver/91130 Use CL_DRIVER when handling of COLLECT_GCC_OPTIONS in lto-wrapper.c

2019-08-07 Thread Richard Earnshaw (lists)
On 07/08/2019 17:15, Jakub Jelinek wrote: On Wed, Aug 07, 2019 at 05:08:28PM +0100, Richard Earnshaw (lists) wrote: Though, I'm fine if you commit your patch now as a fix and Richi's patch with the above incremental change is applied on top of it incrementally as a cleanup. Jakub Ok,

Re: PR driver/91130 Use CL_DRIVER when handling of COLLECT_GCC_OPTIONS in lto-wrapper.c

2019-08-07 Thread Jakub Jelinek
On Wed, Aug 07, 2019 at 05:08:28PM +0100, Richard Earnshaw (lists) wrote: > > Though, I'm fine if you commit your patch now as a fix and Richi's patch > > with the above incremental change is applied on top of it incrementally > > as a cleanup. > > > > Jakub > > > > Ok, I'll do that. Thanks

Re: PR driver/91130 Use CL_DRIVER when handling of COLLECT_GCC_OPTIONS in lto-wrapper.c

2019-08-07 Thread Richard Earnshaw (lists)
On 07/08/2019 14:51, Jakub Jelinek wrote: On Wed, Aug 07, 2019 at 01:42:34PM +0100, Richard Earnshaw (lists) wrote: Some options are handled differently by the main driver (gcc, g++, etc) from the back-end compiler programs (cc1, cc1plus, etc) in that in the driver they do not take an additional

Re: PR driver/91130 Use CL_DRIVER when handling of COLLECT_GCC_OPTIONS in lto-wrapper.c

2019-08-07 Thread Jakub Jelinek
On Wed, Aug 07, 2019 at 01:42:34PM +0100, Richard Earnshaw (lists) wrote: > Some options are handled differently by the main driver (gcc, g++, etc) from > the back-end compiler programs (cc1, cc1plus, etc) in that in the driver > they do not take an additional argument, while in the compiler progra

PR driver/91130 Use CL_DRIVER when handling of COLLECT_GCC_OPTIONS in lto-wrapper.c

2019-08-07 Thread Richard Earnshaw (lists)
Some options are handled differently by the main driver (gcc, g++, etc) from the back-end compiler programs (cc1, cc1plus, etc) in that in the driver they do not take an additional argument, while in the compiler programs they do. The processing option option CL_DRIVER controls this alternativ