Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2022-09-07 Thread Richard Biener via Gcc-patches
On Wed, Sep 7, 2022 at 12:51 PM Jan-Benedict Glaw wrote: > > Hi! > > On Mon, 2022-08-29 22:11:35 +0200, Jan-Benedict Glaw > wrote: > > On Sun, 2022-08-28 15:32:53 -0600, Jeff Law via Gcc-patches > > wrote: > > > On 8/28/2022 1:50 AM, Jan-Benedict Glaw wrote: > > > > On Tue, 2021-09-21

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2022-09-07 Thread Jan-Benedict Glaw
Hi! On Mon, 2022-08-29 22:11:35 +0200, Jan-Benedict Glaw wrote: > On Sun, 2022-08-28 15:32:53 -0600, Jeff Law via Gcc-patches > wrote: > > On 8/28/2022 1:50 AM, Jan-Benedict Glaw wrote: > > > On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches > > > wrote: > > > > This makes

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2022-08-31 Thread Jeff Law via Gcc-patches
On 8/29/2022 2:11 PM, Jan-Benedict Glaw wrote: Hi Jeff! On Sun, 2022-08-28 15:32:53 -0600, Jeff Law via Gcc-patches wrote: On 8/28/2022 1:50 AM, Jan-Benedict Glaw wrote: On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches wrote: This makes defaults.h choose DWARF2_DEBUG

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2022-08-29 Thread Jan-Benedict Glaw
Hi Jeff! On Sun, 2022-08-28 15:32:53 -0600, Jeff Law via Gcc-patches wrote: > On 8/28/2022 1:50 AM, Jan-Benedict Glaw wrote: > > On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches > > wrote: > > > This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE > > > is

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2022-08-28 Thread Jeff Law via Gcc-patches
On 8/28/2022 1:50 AM, Jan-Benedict Glaw wrote: On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches wrote: This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE is not specified by the target and errors out if DWARF DWARF is not supported. While I think the

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2022-08-28 Thread Jan-Benedict Glaw
On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches wrote: > This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE > is not specified by the target and errors out if DWARF DWARF is not supported. While I think the pdp11 bits arreved, the rest did not (yet). Just

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-29 Thread ibuclaw--- via Gcc-patches
> On 26/10/2021 03:28 Joseph Myers wrote: > > > On Mon, 25 Oct 2021, Richard Biener via Gcc-patches wrote: > > > So it looks like tm_d.h is much more stripped down compared to regular > > tm_p.h but also oddly enough config/default-d.c includes tm_d.h > > while config/default-c.c explicitely

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-25 Thread Joseph Myers
On Mon, 25 Oct 2021, Richard Biener via Gcc-patches wrote: > So it looks like tm_d.h is much more stripped down compared to regular > tm_p.h but also oddly enough config/default-d.c includes tm_d.h > while config/default-c.c explicitely documents itself to not do that. I think the intent of that

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-25 Thread Richard Biener via Gcc-patches
On Sun, 24 Oct 2021, Jan-Benedict Glaw wrote: > Hi Richard, > > On Sun, 2021-10-24 08:36:36 +0200, Richard Biener wrote: > > On October 23, 2021 10:00:05 PM GMT+02:00, Jan-Benedict Glaw > > wrote: > > >On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches > > > wrote: > > >> I

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-24 Thread Jan-Benedict Glaw
Hi Richard, On Sun, 2021-10-24 08:36:36 +0200, Richard Biener wrote: > On October 23, 2021 10:00:05 PM GMT+02:00, Jan-Benedict Glaw > wrote: > >On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches > > wrote: > >> I have built all targets from contrib/config-list.mk to make sure

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-24 Thread Richard Biener via Gcc-patches
On October 23, 2021 10:00:05 PM GMT+02:00, Jan-Benedict Glaw wrote: >Hi Richard, > >On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches > wrote: >> I have built all targets from contrib/config-list.mk to make sure we >> don't run into the #error and the following makes the STABS

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-23 Thread Jeff Law via Gcc-patches
On 10/23/2021 2:00 PM, Jan-Benedict Glaw wrote: Hi Richard, On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches wrote: I have built all targets from contrib/config-list.mk to make sure we don't run into the #error and the following makes the STABS usage explicit for pdp11

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-23 Thread Jan-Benedict Glaw
Hi Richard, On Tue, 2021-09-21 16:25:19 +0200, Richard Biener via Gcc-patches wrote: > I have built all targets from contrib/config-list.mk to make sure we > don't run into the #error and the following makes the STABS usage > explicit for pdp11 and hppa with SOM. I'm running build tests based

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-10-15 Thread Richard Biener via Gcc-patches
On Tue, 28 Sep 2021, Koning, Paul wrote: > > > > On Sep 28, 2021, at 2:14 AM, Richard Biener via Gcc-patches > > wrote: > > > > On Tue, Sep 21, 2021 at 4:26 PM Richard Biener via Gcc-patches > > wrote: > >> > >> This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE > >> is

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-09-28 Thread Koning, Paul via Gcc-patches
> On Sep 28, 2021, at 2:14 AM, Richard Biener via Gcc-patches > wrote: > > On Tue, Sep 21, 2021 at 4:26 PM Richard Biener via Gcc-patches > wrote: >> >> This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE >> is not specified by the target and errors out if DWARF DWARF is

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-09-28 Thread Richard Biener via Gcc-patches
On Tue, Sep 21, 2021 at 4:26 PM Richard Biener via Gcc-patches wrote: > > This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE > is not specified by the target and errors out if DWARF DWARF is not supported. > > It also makes us warn when STABS is enabled but not the preferred >

[PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-09-21 Thread Richard Biener via Gcc-patches
This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE is not specified by the target and errors out if DWARF DWARF is not supported. It also makes us warn when STABS is enabled but not the preferred debugging type and removes the corresponding diagnostic from the Ada frontend. The

Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-09-10 Thread Michael Matz via Gcc-patches
Hello, On Fri, 10 Sep 2021, Richard Biener via Gcc-patches wrote: > diagnostic from the Ada frontend. The warnings are pruned from the > testsuite output via prune_gcc_output but somehow this doesn't work > for the tests in gfortran.dg/debug which are now failing with excess > errors. That

[PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS

2021-09-10 Thread Richard Biener via Gcc-patches
This makes defaults.h choose DWARF2_DEBUG if PREFERRED_DEBUGGING_TYPE is not specified by the target and NO_DEBUG if DWARF is not supported. It also makes us warn when STABS is enabled and removes the corresponding diagnostic from the Ada frontend. The warnings are pruned from the testsuite