From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by sourceware.org (Postfix) with ESMTPS id 8BE2C3857011 for ; Fri, 28 May 2021 07:27:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8BE2C3857011 Received: by mail-yb1-xb35.google.com with SMTP id f9so4244983ybo.6 for ; Fri, 28 May 2021 00:27:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=46RXLsrnXM7MI/2O7NZgVOSR7/TVTyc3FBg6qf2LTbI=; b=IxDNOiFeJFZ2V+OunqyC5Uinyq40wTw00WatObS01QykSuvucsoe60JSHBpKTk4e15 BpjIu/ly+72V0Of8K8tYJmXKcPGyU2WC4om7cmKWYSN7BFpwpysffVPdoSjtNn6CHxM3 XKU8yrp6FGjkizbQXeD3HEz9GkX8oc4XBRB6MbmLfcZ2hF6bHMHrCmVgUz+LBsoqHwJx q9t57eQNbCMd2z7IWQ4wmELbe4Z+VBbXrEqIZ0WXSgO4FgFZA4hwjb/AcSnwNYehv9xl ujY9xRUSfHK85Aao8NBmNgoYqL4dg0b/wGV4+LQ3++ETZ+zgxSiO43sIF6A8BKh5PJkE /iaA== X-Gm-Message-State: AOAM531ynd23ok/xd8TAEG7mKYMYN+XMiVWlFRRKOPeCnQkixLy7LccE ND7wHJmjTO/YxRtCcJFl0kgg/vtxHP5trEZUTsE= X-Google-Smtp-Source: ABdhPJx7TBpjdSBvhvR7u6l2MDfEslKLm3RAArQ64YLH0R67HzPViBJeZ0a4aKNaMeWZygIqKtuiNS1TD/ls6QVW8IQ= X-Received: by 2002:a25:be41:: with SMTP id d1mr10470074ybm.352.1622186826012; Fri, 28 May 2021 00:27:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Pinski Date: Fri, 28 May 2021 00:26:54 -0700 Message-ID: Subject: Re: [PATCH] Generate gimple-match.c and generic-match.c earlier To: Bernd Edlinger Cc: "gcc-patches@gcc.gnu.org" , Richard Biener Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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, 28 May 2021 07:27:08 -0000 On Thu, May 27, 2021 at 10:10 PM Bernd Edlinger wrote: > > Hi, > > I was wondering, why gimple-match.c and generic-match.c > are not built early but always last, which slows down parallel > makes significantly. > > The reason seems to be that generated_files does not > mention gimple-match.c and generic-match.c. > > This comment in Makefile.in says it all: > > $(ALL_HOST_OBJS) : | $(generated_files) > > So this patch adds gimple-match.c generic-match.c to generated_files. > > > Tested on x86_64-pc-linux-gnu. > Is it OK for trunk? This should help for what I was complaining about in https://gcc.gnu.org/pipermail/gcc/2021-May/235963.html . I build with -j24 and it was stalling on compiling gimple-match.c for me. Looks like insn-attrtab.c is missed too; I saw genattrtab was running last too. Thanks, Andrew > > > Thanks > Bernd. > > > 2021-05-28 Bernd Edlinger > > * Makefile.in (generated_files): Add gimple-match.c and > generic-match.c