From: Kewen Lin Date: Thu, 20 May 2021 10:16:19 +0000 (-0500) Subject: arm: Fix build failure by adding includes X-Git-Tag: basepoints/gcc-13~7372 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=928e4ff1aea45165efbdc8ba6e409b191c2dde6c;p=thirdparty%2Fgcc.git 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 --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index caf4e56b9fef..9377aaef342b 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"