From: Cesar Philippidis Date: Fri, 30 Oct 2015 22:15:17 +0000 (-0700) Subject: cgraph.c: Include context.h for offloading. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2631d4eb87db704196d57f53729e596a645e9b6d;p=gcc.git 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 --- 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",