From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2063) id F24723951883; Thu, 20 May 2021 10:50:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F24723951883 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Kewen Lin To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-941] arm: Fix build failure by adding includes X-Act-Checkin: gcc X-Git-Author: Kewen Lin X-Git-Refname: refs/heads/master X-Git-Oldrev: 507359e1d4d18614eb9679043995edf0675b6ff5 X-Git-Newrev: 928e4ff1aea45165efbdc8ba6e409b191c2dde6c Message-Id: <20210520105036.F24723951883@sourceware.org> Date: Thu, 20 May 2021 10:50:36 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 10:50:37 -0000 https://gcc.gnu.org/g:928e4ff1aea45165efbdc8ba6e409b191c2dde6c commit r12-941-g928e4ff1aea45165efbdc8ba6e409b191c2dde6c Author: Kewen Lin Date: Thu May 20 05:16:19 2021 -0500 arm: Fix build failure by adding includes Commit r12-939 missed to add the required include files for the newly used type loop_vec_info. This patch is to add the include file "tree-vectorizer.h" which defines loop_vec_info and its required include file "cfgloop.h". gcc/ChangeLog: * config/arm/arm.c: Include head files tree-vectorizer.h and cfgloop.h. Diff: --- gcc/config/arm/arm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index caf4e56b9fe..9377aaef342 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -32,6 +32,7 @@ #include "tree.h" #include "memmodel.h" #include "cfghooks.h" +#include "cfgloop.h" #include "df.h" #include "tm_p.h" #include "stringpool.h" @@ -69,6 +70,7 @@ #include "gimplify.h" #include "gimple.h" #include "selftest.h" +#include "tree-vectorizer.h" /* This file should be included last. */ #include "target-def.h"