From patchwork Fri May 5 17:02:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Monakov X-Patchwork-Id: 90511 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp556957vqo; Fri, 5 May 2023 10:03:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zaq2j/uDR29zh69NhsY1MzUeotk47ulnotRspsrhzcKj8g3w9Grvtck1xSAC2nJVr54PB X-Received: by 2002:a17:907:5ca:b0:965:6cb9:b768 with SMTP id wg10-20020a17090705ca00b009656cb9b768mr1569672ejb.31.1683306217881; Fri, 05 May 2023 10:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683306217; cv=none; d=google.com; s=arc-20160816; b=facntoGwqn68Iyi2NyTAao0sWeu+BTZEdBngHdsCyOGdLQ9sN0WHzec03OV8l5nPkd nVFCJjAK6DbL6lUFLDpL1pp6J9IamRlVqO+Ia/K2WF50sMouBQuBiaPfg5fWicquChhx KGq/5KDLpkz03Cju6CYU5LLAyiTXmni9ONSqhXfHN18BWPVB1RlxVzHB+7pBSVweaQm8 WmsaXnXbGPNlC5t22fOVp55NS9obL6pCSzM19rwAZBgLBw7ufSHRwJVo0agzJRrjVopV uokwSvC8aTtHXEiVmb+cGmrY24S1Qvin/4TJ/eZhmHV0igkvC76cpt7eqKB/exVUFBkx i8nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dkim-filter:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=EBEXzzRV1fAdxlyHMaM+ZIWkPf8tQJFASPVr6BT+06A=; b=E4wMoyJtl4202HmjFpRxjHFqvJWAKlq+v3q1brTnqBGvqWEadiRu2FoVBszPihY7xd jItNkhhfjBno8JEzyWJnMFIGlQSjVD1SPO03UZVKCBv6AeQ+bV0ehQ6XHn7NbiuCMJTp kpwJl9fYoiEUWcuiFhihbyh7wJk60vpE0cqlR+kJytH6TyooGPfjVVmTlOafg8GhpGx9 kXFSQNpH5qbxuDWhm3IuIUsQKoAmtnTtYt7mT4h+D7vV/OSO9xlDePvldUHSk/5JuFxm HAIq2jDG5kKOtneSmJ+j8mE/oL3VKUT8TWzv+P9/spvJUfZvvoAmZvs9w6HmhT3OW+Ha ATtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AdkTYi0s; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id io7-20020a17090780c700b00965f23fac13si696205ejc.179.2023.05.05.10.03.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 10:03:37 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AdkTYi0s; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 63932385B530 for ; Fri, 5 May 2023 17:03:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63932385B530 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683306216; bh=EBEXzzRV1fAdxlyHMaM+ZIWkPf8tQJFASPVr6BT+06A=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=AdkTYi0ss20kI1XUWBfB52srdc4/SAE3/xEz4xsXtWD6uad5e0Oa58fDwyuKubBKK KvBmelXU1L2IUVzMFaH8HWeZORKiRAKU+7ViB8xPMKH23WHyf55QF6Noo1rh3Vf/0G zQW471JSRSL/eRCPPf8VuRB2gt67Uv2OFEBVNkgs= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by sourceware.org (Postfix) with ESMTPS id A64ED3858D33 for ; Fri, 5 May 2023 17:02:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A64ED3858D33 Received: from localhost.intra.ispras.ru (unknown [10.10.3.121]) by mail.ispras.ru (Postfix) with ESMTP id BB5ED4076B3F; Fri, 5 May 2023 17:02:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru BB5ED4076B3F To: gcc-patches@gcc.gnu.org Cc: Tamar Christina , Alexander Monakov Subject: [PATCH] Makefile.in: clean up match.pd-related dependencies Date: Fri, 5 May 2023 20:02:41 +0300 Message-Id: <20230505170241.19836-1-amonakov@ispras.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alexander Monakov via Gcc-patches From: Alexander Monakov Reply-To: Alexander Monakov Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765074500410765988?= X-GMAIL-MSGID: =?utf-8?q?1765074500410765988?= Clean up confusing changes from the recent refactoring for parallel match.pd build. gimple-match-head.o is not built. Remove related flags adjustment. Autogenerated gimple-match-N.o files do not depend on gimple-match-exports.cc. {gimple,generic)-match-auto.h only depend on the prerequisites of the corresponding s-{gimple,generic}-match stamp file, not any .cc file. gcc/ChangeLog: * Makefile.in: (gimple-match-head.o-warn): Remove. (GIMPLE_MATCH_PD_SEQ_SRC): Do not depend on gimple-match-exports.cc. (gimple-match-auto.h): Only depend on s-gimple-match. (generic-match-auto.h): Likewise. --- Tamar, do I understand correctly that you do not have more plans for match.pd and I won't collide with you if I attempt more cleanups in this area? Thanks! gcc/Makefile.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 7e7ac078c5..0cc13c37d0 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -230,7 +230,6 @@ gengtype-lex.o-warn = -Wno-error libgcov-util.o-warn = -Wno-error libgcov-driver-tool.o-warn = -Wno-error libgcov-merge-tool.o-warn = -Wno-error -gimple-match-head.o-warn = -Wno-unused gimple-match-exports.o-warn = -Wno-unused dfp.o-warn = -Wno-strict-aliasing @@ -2674,12 +2673,10 @@ s-tm-texi: build/genhooks$(build_exeext) $(srcdir)/doc/tm.texi.in false; \ fi -$(GIMPLE_MATCH_PD_SEQ_SRC): s-gimple-match gimple-match-head.cc \ - gimple-match-exports.cc; @true -gimple-match-auto.h: s-gimple-match gimple-match-head.cc \ - gimple-match-exports.cc; @true +$(GIMPLE_MATCH_PD_SEQ_SRC): s-gimple-match gimple-match-head.cc; @true +gimple-match-auto.h: s-gimple-match; @true $(GENERIC_MATCH_PD_SEQ_SRC): s-generic-match generic-match-head.cc; @true -generic-match-auto.h: s-generic-match generic-match-head.cc; @true +generic-match-auto.h: s-generic-match; @true s-gimple-match: build/genmatch$(build_exeext) \ $(srcdir)/match.pd cfn-operators.pd