From patchwork Fri Apr 5 13:12:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 88101 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A7BA7384772B for ; Fri, 5 Apr 2024 13:13:32 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 CB97E3858415 for ; Fri, 5 Apr 2024 13:12:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CB97E3858415 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CB97E3858415 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712322776; cv=none; b=F+1pMeu8xoSppGcaSbEqyeWgKkp9zDTOoutzqFg1g1YWwM36a/v3Ys1FQq+ZKox4lq8Xp26RrI5mYDuWbinBnbN3xe6xxXe8nKeQobfl0+9HP/E6T9O2I+ZK5/FpXejV81p95Lt9m0SagfDkjV65CzUThFjiIIJatOreVbRZrNk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712322776; c=relaxed/simple; bh=Rf/0onVSYXHUjYIFQuF4ms9iXrjYtpT5SgaAJOH2Ch8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=QxQPDVTVp+otv5gLCJr6ELx7p06cpNDRkyPSD0MFLgUaKVrOVxgaxxB60R6SUa3aj96DGgNVzBgKqsIfPboO4knP2to8dF3/AN/P+E5lcOj9oQzd3wezPdeH7Btt/9PEz+vdyegz1f25QsFiyq+6Sc0nFqBanuZDXp/ht96CcQ8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712322770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9UWfKi6ElOeBxvq3UGOPbgK1Hg4BWKvnFnIoWJthkx0=; b=RISSAurzVGjxfFQOhMaXrvahYUH94JFuwdKyPJfYH5CmmUSFWAXK52xuCaKI3ig3EZUEj4 gqXgfraL+eg/oBXWGZsm4USmR7HXcRyp9QiTgXI4E1RrNH2p5ZGNiPeZtzNDJ/nTK53fvO MK6Ah0mfhV3PDCb4GrafXPS13tnUa6c= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-316-ErRBSm0qPseu7VPD_a-yEw-1; Fri, 05 Apr 2024 09:12:49 -0400 X-MC-Unique: ErRBSm0qPseu7VPD_a-yEw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 02DE0185A785 for ; Fri, 5 Apr 2024 13:12:49 +0000 (UTC) Received: from pdp-11.redhat.com (unknown [10.22.33.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id E0468492BCD for ; Fri, 5 Apr 2024 13:12:48 +0000 (UTC) From: Marek Polacek To: GCC Patches Subject: [pushed] c-family: remove dead #undef Date: Fri, 5 Apr 2024 09:12:46 -0400 Message-ID: <20240405131246.10203-1-polacek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Tested x86_64-pc-linux-gnu, applying to trunk. -- >8 -- The #undef was added in r0-90320-g100d537d7a7b5c but it never did anything. gcc/c-family/ChangeLog: * c-warn.cc (warn_about_parentheses): Remove an #undef. --- gcc/c-family/c-warn.cc | 1 - 1 file changed, 1 deletion(-) base-commit: 679f81a32f706645f45900fdb1659fb5fe607f77 diff --git a/gcc/c-family/c-warn.cc b/gcc/c-family/c-warn.cc index 8168696fa45..bff87be05ae 100644 --- a/gcc/c-family/c-warn.cc +++ b/gcc/c-family/c-warn.cc @@ -2176,7 +2176,6 @@ warn_about_parentheses (location_t loc, enum tree_code code, } return; } -#undef NOT_A_BOOLEAN_EXPR_P } /* If LABEL (a LABEL_DECL) has not been used, issue a warning. */