Re: [PATCH] lto/109263 - lto-wrapper and -g0 -ggdb

2023-04-02 Thread Jeff Law via Gcc-patches
On 3/23/23 10:00, Richard Biener via Gcc-patches wrote: The following makes lto-wrapper deal with non-combined debug disabling / enabling option combinations properly. Interestingly -gno-dwarf also enables debug. Bootstrap / regtest running on x86_64-unknown-linux-gnu. OK? Or do we want to

Re: [PATCH] lto/109263 - lto-wrapper and -g0 -ggdb

2023-03-26 Thread Richard Biener via Gcc-patches
On Thu, 23 Mar 2023, Richard Biener wrote: > The following makes lto-wrapper deal with non-combined debug > disabling / enabling option combinations properly. Interestingly > -gno-dwarf also enables debug. > > Bootstrap / regtest running on x86_64-unknown-linux-gnu. > > OK? Or do we want to tr

[PATCH] lto/109263 - lto-wrapper and -g0 -ggdb

2023-03-23 Thread Richard Biener via Gcc-patches
The following makes lto-wrapper deal with non-combined debug disabling / enabling option combinations properly. Interestingly -gno-dwarf also enables debug. Bootstrap / regtest running on x86_64-unknown-linux-gnu. OK? Or do we want to try harder to zap earlier -g0 when later -g* appear?