cgraph.c: Include context.h for offloading.
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 30 Oct 2015 22:15:17 +0000 (15:15 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 30 Oct 2015 22:15:17 +0000 (15:15 -0700)
gcc/
* cgraph.c: Include context.h for offloading.
* varpool.c: Include context.h and omp-low.h.

From-SVN: r229608

gcc/ChangeLog
gcc/cgraph.c
gcc/varpool.c

index 1b4725ee701313998eb0d9f5972e6673fdc165d1..4282cba11cd20541141ff1fd53c614360684ff10 100644 (file)
@@ -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.
index 92b861377f47d1fb1875fc72e8716bd21c459345..7839c720fe42cd1f1bae8fcc27d1b9fb5db42e7b 100644 (file)
@@ -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"
index 3010dbb64916fd6cbc8c050e0a1fd83e0844ae86..478f3655a51ae5ceb493f92e723725cb3151f66a 100644 (file)
@@ -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",