]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/lto/lto-lang.c
Merge in trunk.
[thirdparty/gcc.git] / gcc / lto / lto-lang.c
index de9bda9ba6709ec850507f8a974169a46b253e17..55bf1787a3f62fe9e1f0d6a76eb544d9f3fc77ce 100644 (file)
@@ -35,6 +35,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "diagnostic-core.h"
 #include "toplev.h"
 #include "lto-streamer.h"
+#include "cilk.h"
 
 static tree lto_type_for_size (unsigned, int);
 
@@ -1173,6 +1174,9 @@ lto_init (void)
       lto_define_builtins (va_list_type_node,
                           build_reference_type (va_list_type_node));
     }
+  
+  if (flag_enable_cilkplus)
+    cilk_init_builtins ();
 
   targetm.init_builtins ();
   build_common_builtin_nodes ();