From patchwork Tue Aug 15 03:13:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kewen.Lin" X-Patchwork-Id: 135615 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:3f2:4152:657d with SMTP id x8csp173386vqo; Mon, 14 Aug 2023 20:14:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvFxnMzTTGjQXl4BEvBeLpJyG0X1wCF7XG18fiJB2wisohczWzE4bl3JC7zniCtqTbkO3c X-Received: by 2002:a17:906:3107:b0:997:c377:b41f with SMTP id 7-20020a170906310700b00997c377b41fmr8292421ejx.64.1692069247423; Mon, 14 Aug 2023 20:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692069247; cv=none; d=google.com; s=arc-20160816; b=TgSfXvaBW5Tnk0+bloyYqXntihUJzjnlDbWO7IdJDaRI3EQC87sfNtuceOd1q0woXI n6Gc0/embScMIXN7V2h/AVT6Zeljnep23riAcfcDOBp2ncq65Qnet72Z9VUlwd78CXlK dY6ZKDvVmbwczdXkfH3NSxm49IkJ7b5cegusec82j+RHcDLeFNKznlebbv6qwj3SYYmj 7fNk9IpdpapcrV5YPE9dSTUSvCeByCW3bJuWOlf33d/c69qaKgecQZPstIxysqz7hFof oejHOU8q0eN+Fq9l2o4vSXhueRTo+7BQTjWRGPnwi8DlefgGI5d6jdNInoa88fWmjLsN DmnA== 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:subject:cc:to:content-language:user-agent :mime-version:date:message-id:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=WsG/F+wm9a57TRuVlFCgK1upmgNGEqIGxE3TLkp5Qg8=; fh=MGx1/wVDQETPsMNu+2mxX5I1BQwub1oE/Y6GJh3R3DE=; b=BYlj0iWEVyFclXKzyZXfSrxNRaSD+CHWcuK2aG4mUpWo544JKRyO57dBNI9Fb84OkJ Zn4IjydyquleEwVlU3E39uNRiVQSR7BKgIgpt5ejd+QEafl+GNvxd5F3YD5K6yKsRCa6 2I8bEy+bXr9wuYH7bi2X0+AoRXf/6jJlHmoB2YxEanU4r30td9joZ4rs6y3GIElPkfrm W6BHQjBxroFJfCa4qOrp6mjC1nSKpyzdv12oi9ow2JwdBkHvA8AIjJNo1W4MP63Ao1uY ZH4FvzY2vpTuplUOK1mj7biM9OZy2UBmpPJ9x9NdFwu4PDSe1UgQOYsCMWhJtyN3eOM0 lfcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=KPumeCXw; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ks19-20020a170906f85300b0099bcfd32960si8552478ejb.161.2023.08.14.20.14.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 20:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=KPumeCXw; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 7FF2E3857357 for ; Tue, 15 Aug 2023 03:14:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FF2E3857357 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692069242; bh=WsG/F+wm9a57TRuVlFCgK1upmgNGEqIGxE3TLkp5Qg8=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=KPumeCXwDzYIdQ6XS8vhQNcmv5ipLAeNJTTxyIQeFKtDNftMHg4mHD00Lpc2TFolj iuFvhdbp3qrjRAOp7jLveJZLdWnjpFC+4/xsKdWN41dIEHoJH/fViXPGEQGSsnKS12 Jt+P5nENqyYyF71CEjcP1k6VG0KbjScWdI4R3jKA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id B47DF385697D for ; Tue, 15 Aug 2023 03:13:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B47DF385697D Received: from pps.filterd (m0353728.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37F37k4X015883; Tue, 15 Aug 2023 03:13:15 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3sg057165n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Aug 2023 03:13:14 +0000 Received: from m0353728.ppops.net (m0353728.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 37F3ANp1023140; Tue, 15 Aug 2023 03:13:14 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3sg057165e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Aug 2023 03:13:14 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 37F1HaMm013228; Tue, 15 Aug 2023 03:13:13 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3sepmjhbb3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Aug 2023 03:13:13 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 37F3DBwr15860376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 15 Aug 2023 03:13:11 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8784320040; Tue, 15 Aug 2023 03:13:11 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E0F3D20043; Tue, 15 Aug 2023 03:13:09 +0000 (GMT) Received: from [9.197.231.38] (unknown [9.197.231.38]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 15 Aug 2023 03:13:09 +0000 (GMT) Message-ID: <85917744-79f6-2752-98a3-13c19c9fc65c@linux.ibm.com> Date: Tue, 15 Aug 2023 11:13:08 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US To: GCC Patches Cc: Richard Biener , Richard Sandiford , Jan-Benedict Glaw Subject: [PATCH] Makefile.in: Make recog.h depend on $(TREE_H) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: D3ASow3DZ9Y7ro0wakzdq4VVa4rQWCKj X-Proofpoint-ORIG-GUID: db0jDHuancJYtSgSd3T26JNCp4m9VoHk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-15_01,2023-08-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 spamscore=0 impostorscore=0 phishscore=0 priorityscore=1501 adultscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308150026 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "Kewen.Lin via Gcc-patches" From: "Kewen.Lin" Reply-To: "Kewen.Lin" Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774263202920801106 X-GMAIL-MSGID: 1774263202920801106 Hi, Commit r14-3093 introduced a random build failure on build/gencondmd.cc building. Since r14-3093 makes recog.h include tree.h, which further includes (depends on) some files that are generated during the building, such as: all-tree.def, tree-check.h etc, when building file build/gencondmd.cc, the build can fail if these dependencies are not ready. So this patch is to teach this dependence. Thank Jan-Benedict Glaw for testing this! gcc/ChangeLog: * Makefile.in (RECOG_H): Add $(TREE_H) as dependence. --- gcc/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 2429128cbf2..9dddb65b45d 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -991,7 +991,7 @@ GIMPLE_H = gimple.h gimple.def gsstruct.def $(VEC_H) \ $(GGC_H) $(BASIC_BLOCK_H) $(TREE_H) tree-ssa-operands.h \ tree-ssa-alias.h $(INTERNAL_FN_H) $(HASH_TABLE_H) is-a.h GCOV_IO_H = gcov-io.h version.h auto-host.h gcov-counter.def -RECOG_H = recog.h +RECOG_H = recog.h $(TREE_H) EMIT_RTL_H = emit-rtl.h FLAGS_H = flags.h flag-types.h $(OPTIONS_H) OPTIONS_H = options.h flag-types.h $(OPTIONS_H_EXTRA)