From b9dd9f0ef89e9f3703e54f60e01440f91d4f77ce Mon Sep 17 00:00:00 2001 From: cesar Date: Fri, 30 Oct 2015 22:15:17 +0000 Subject: [PATCH] gcc/ * cgraph.c: Include context.h for offloading. * varpool.c: Include context.h and omp-low.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229608 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 1b4725ee7013..4282cba11cd2 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 92b861377f47..7839c720fe42 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 3010dbb64916..478f3655a51a 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.47.3