@@ -1,3 +1,8 @@
+2014-05-08 Thomas Schwinge <thomas@codesourcery.com>
+
+ * omp-low.c (get_offload_symbol_decl): Mark __OPENMP_TARGET__ as
+ addressable.
+
2014-04-04 Bernd Schmidt <bernds@codesourcery.com>
* lto-wrapper.c (replace_special_characters): Remove functions and
@@ -233,6 +233,7 @@ get_offload_symbol_decl (void)
tree decl = build_decl (UNKNOWN_LOCATION, VAR_DECL,
get_identifier ("__OPENMP_TARGET__"),
ptr_type_node);
+ TREE_ADDRESSABLE (decl) = 1;
TREE_PUBLIC (decl) = 1;
DECL_EXTERNAL (decl) = 1;
DECL_WEAK (decl) = 1;