From 2631d4eb87db704196d57f53729e596a645e9b6d Mon Sep 17 00:00:00 2001 From: Cesar Philippidis Date: Fri, 30 Oct 2015 15:15:17 -0700 Subject: [PATCH] cgraph.c: Include context.h for offloading. gcc/ * cgraph.c: Include context.h for offloading. * varpool.c: Include context.h and omp-low.h. From-SVN: r229608 --- gcc/ChangeLog | 5 +++++ gcc/cgraph.c | 1 + gcc/varpool.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b4725ee701..4282cba11cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-30 Cesar Philippidis + + * cgraph.c: Include context.h for offloading. + * varpool.c: Include context.h and omp-low.h. + 2015-10-30 Anatoly Sokolov * rtl.h (contains_symbol_ref_p): Declare. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 92b861377f4..7839c720fe4 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -57,6 +57,7 @@ along with GCC; see the file COPYING3. If not see #include "profile.h" #include "params.h" #include "tree-chkp.h" +#include "context.h" /* FIXME: Only for PROP_loops, but cgraph shouldn't have to know about this. */ #include "tree-pass.h" diff --git a/gcc/varpool.c b/gcc/varpool.c index 3010dbb6491..478f3655a51 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -31,6 +31,8 @@ along with GCC; see the file COPYING3. If not see #include "varasm.h" #include "debug.h" #include "output.h" +#include "omp-low.h" +#include "context.h" const char * const tls_model_names[]={"none", "emulated", "global-dynamic", "local-dynamic", -- 2.30.2