Re: [PATCH] Don't make -gsplit-dwarf imply -g

2020-07-29 Thread David Blaikie via Gcc-patches
On Tue, Jul 28, 2020, 10:24 PM Fāng-ruì Sòng wrote: > On Thu, May 14, 2020 at 12:16 AM Richard Biener > wrote: > > > > On Wed, May 13, 2020 at 5:50 PM Fangrui Song wrote: > > > > > > On 2020-05-13, Eric Botcazou wrote: > > > >> Did I mention I dislike -fsplit-dwarf? ;) > > > > > > > >Seconded,

Re: [PATCH] Don't make -gsplit-dwarf imply -g

2020-07-29 Thread Richard Biener via Gcc-patches
On Wed, Jul 29, 2020 at 7:24 AM Fāng-ruì Sòng wrote: > > On Thu, May 14, 2020 at 12:16 AM Richard Biener > wrote: > > > > On Wed, May 13, 2020 at 5:50 PM Fangrui Song wrote: > > > > > > On 2020-05-13, Eric Botcazou wrote: > > > >> Did I mention I dislike -fsplit-dwarf? ;) > > > > > > > >Seconded

Re: [PATCH] Don't make -gsplit-dwarf imply -g

2020-07-28 Thread Fāng-ruì Sòng via Gcc-patches
On Thu, May 14, 2020 at 12:16 AM Richard Biener wrote: > > On Wed, May 13, 2020 at 5:50 PM Fangrui Song wrote: > > > > On 2020-05-13, Eric Botcazou wrote: > > >> Did I mention I dislike -fsplit-dwarf? ;) > > > > > >Seconded, this will be confusing for almost all users. Since the option > > >onl

Re: [PATCH] Don't make -gsplit-dwarf imply -g

2020-05-14 Thread Richard Biener via Gcc-patches
On Wed, May 13, 2020 at 5:50 PM Fangrui Song wrote: > > On 2020-05-13, Eric Botcazou wrote: > >> Did I mention I dislike -fsplit-dwarf? ;) > > > >Seconded, this will be confusing for almost all users. Since the option only > >affects debug info generation, it should be prefixed with 'g' in any ca

[PATCH] Don't make -gsplit-dwarf imply -g

2020-05-13 Thread Fangrui Song via Gcc-patches
ed, 13 May 2020 08:27:29 -0700 Subject: [PATCH] Don't make -gsplit-dwarf imply -g -gsplit-dwarf introduces order dependency: it overrides previous -g0 and -g1. Don't imply -g so that it can be plugged into a build without worrying that unnecessary debugging information may be generate