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 D405F3858405 for ; Fri, 10 Sep 2021 15:08:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D405F3858405 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id C6B681FE4B for ; Fri, 10 Sep 2021 15:08:44 +0000 (UTC) Received: from wotan.suse.de (wotan.suse.de [10.160.0.1]) (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 C24C6A3B9E for ; Fri, 10 Sep 2021 15:08:44 +0000 (UTC) Received: by wotan.suse.de (Postfix, from userid 10510) id B7E2865FB; Fri, 10 Sep 2021 15:08:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by wotan.suse.de (Postfix) with ESMTP id B6C056555; Fri, 10 Sep 2021 15:08:44 +0000 (UTC) Date: Fri, 10 Sep 2021 15:08:44 +0000 (UTC) From: Michael Matz To: Richard Biener cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Always default to DWARF2_DEBUG if not specified, warn about deprecated STABS In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.2 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 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: Fri, 10 Sep 2021 15:08:47 -0000 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 seems to be the case for other fortran .exp as well > when appending -gstabs, something which works fine for gcc or g++ dgs. Fortran emits warnings with a capitalized 'W'. Your regexp only checks for lower-case. > + # Ignore stabs obsoletion warnings > + regsub -all "(^|\n)\[^\n\]*warning: STABS debugging information is obsolete and not supported anymore\[^\n\]*" $text "" text This needs to be ".arning" or "\[Ww\]arning". Ciao, Michael.