]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: Fix build failure by adding includes
authorKewen Lin <linkw@linux.ibm.com>
Thu, 20 May 2021 10:16:19 +0000 (05:16 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Thu, 20 May 2021 10:34:37 +0000 (05:34 -0500)
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.

gcc/config/arm/arm.c

index caf4e56b9fefd5b2a1b50365dacfaa2370484c5c..9377aaef342bea635e7feb40c1c20a7c804baafe 100644 (file)
@@ -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"