From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 58FE53858403 for ; Wed, 15 Sep 2021 14:06:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 58FE53858403 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 8616E201AC; Wed, 15 Sep 2021 14:06:57 +0000 (UTC) Received: from murzim.suse.de (murzim.suse.de [10.160.4.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 7C293A3B9C; Wed, 15 Sep 2021 14:06:57 +0000 (UTC) Date: Wed, 15 Sep 2021 16:06:56 +0200 (CEST) From: Richard Biener To: John David Anglin cc: Jeff Law , gcc-patches@gcc.gnu.org, schwab@linux-m68k.org, ni1d@arrl.net Subject: Re: [PATCH][v2] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS In-Reply-To: <263956ec-73dc-b92a-e009-87da7d4f141f@bell.net> Message-ID: References: <66161527-98n2-3060-49ss-67oro67381nq@fhfr.qr> <7c622dea-ac79-869e-23a0-7d363ec50947@gmail.com> <2f5fdfff-d7dd-c8ab-b384-17cc4c5c0c12@gmail.com> <04bf2ae0-dd68-c5d8-92ee-6ea4a0c12c26@bell.net> <263956ec-73dc-b92a-e009-87da7d4f141f@bell.net> MIME-Version: 1.0 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2021 14:06:59 -0000 On Wed, 15 Sep 2021, John David Anglin wrote: > On 2021-09-15 2:26 a.m., Richard Biener wrote: > >> I believe the 32-bit SOM target should be deprecated.  I'm the only one maintaining it and I had some health issues earlier this year. > >> The current versions should suffice for several years. > > Do you think it's worth keeping the 32bit pa hpux targets for another > > release but guarded with --enable-obsolete or can we remove those > > configurations right away? > I would choose --enable-obsolete.  Currently, things more or less work except for modules. OK, I see. > > > > In the current setting configurations that do not support DWARF will > > get no debug info with -g (with a warning that this happens) and > > STABS debug info with -gstabs (with a warning about its deprecation). > > That might not be the final outcome for GCC 12 but it's the minimal > > change I'm working towards. > Is there a simple way to enable -gstabs in build? Currently not. If we're retaining more than pdp11 with a non-DWARF config I'm considering to allow STABS by default for those without diagnostics for GCC 12. With GCC 13 we'll definitely either remove the configurations or leave the target without any support for debug info. Richard.