From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 318E9385841D for ; Wed, 27 Jul 2022 01:07:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 318E9385841D Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-2-DSppBmNENH2-M1867N-LeQ-1; Tue, 26 Jul 2022 21:07:46 -0400 X-MC-Unique: DSppBmNENH2-M1867N-LeQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 77E7885A586; Wed, 27 Jul 2022 01:07:46 +0000 (UTC) Received: from f35-zws-1 (unknown [10.2.16.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3353F4010E4D; Wed, 27 Jul 2022 01:07:46 +0000 (UTC) Date: Tue, 26 Jul 2022 18:07:44 -0700 From: Kevin Buettner To: gdb-patches@sourceware.org Subject: Re: [PATCH v2 1/2] gdb, testsuite: Enable testcases that suppress specific warnings, for icc/icx. Message-ID: <20220726180744.42186488@f35-zws-1> In-Reply-To: <20220725113822.1855437-2-felix.willgerodt@intel.com> References: <20220725113822.1855437-1-felix.willgerodt@intel.com> <20220725113822.1855437-2-felix.willgerodt@intel.com> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2022 01:07:51 -0000 On Mon, 25 Jul 2022 13:38:21 +0200 Felix Willgerodt via Gdb-patches wrote: > To cite gdb.exp: > Some C/C++ testcases unconditionally pass -Wno-foo as additional > options to disable some warning. That is OK with GCC, because > by design, GCC accepts any -Wno-foo option, even if it doesn't > support -Wfoo. Clang however warns about unknown -Wno-foo by > default, unless you pass -Wno-unknown-warning-option as well. > We do that here, so that individual testcases don't have to > worry about it. > > This patch adds the same option that already exists for clang for icx and > adds the equivalent icc option. Okay. Kevin