aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCesar Philippidis <cesar@codesourcery.com>2015-10-30 15:15:17 -0700
committerCesar Philippidis <cesar@gcc.gnu.org>2015-10-30 15:15:17 -0700
commit2631d4eb87db704196d57f53729e596a645e9b6d (patch)
tree72aa09788272c79d7a35c8590b0c758dcb8b8c5c /gcc
parentd614335f7796ca828cfab1a9e789bbb91165755b (diff)
downloadgcc-2631d4eb87db704196d57f53729e596a645e9b6d.zip
gcc-2631d4eb87db704196d57f53729e596a645e9b6d.tar.gz
gcc-2631d4eb87db704196d57f53729e596a645e9b6d.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cgraph.c1
-rw-r--r--gcc/varpool.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1b4725e..4282cba 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-30 Cesar Philippidis <cesar@codesourcery.com>
+
+ * cgraph.c: Include context.h for offloading.
+ * varpool.c: Include context.h and omp-low.h.
+
2015-10-30 Anatoly Sokolov <aesok@post.ru>
* rtl.h (contains_symbol_ref_p): Declare.
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 92b8613..7839c72 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 3010dbb..478f365 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",