On Tue, Apr 09, 2024 at 02:49:09PM +0200, Richard Biener wrote:
> The following adjusts -flto option processing in lto-wrapper to have
> link-time -flto override any compile time setting.
> 
> LTO-boostrapped on x86_64-unknown-linux-gnu, testing in progress.
> 
> OK for trunk and branches?  GCC 11 seems to be unaffected by this.
> 
> Thanks,
> Richard.
> 
>       PR lto/114655
>       * lto-wrapper.cc (merge_flto_options): Add force argument.
>       (merge_and_complain): Do not force here.
>       (run_gcc): But here to make the link-time -flto option override
>       any compile-time one.

Ok.

        Jakub

Reply via email to