From f809d2138c7ab3656f12eb4deb3bf9191f1e12c3 Mon Sep 17 00:00:00 2001
From: Jan Hubicka <hubicka@ucw.cz>
Date: Thu, 26 Mar 2015 22:10:28 +0100
Subject: * cif-code.def (CILK_SPAWN): New code.

From-SVN: r221710
---
 gcc/cif-code.def | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'gcc/cif-code.def')

diff --git a/gcc/cif-code.def b/gcc/cif-code.def
index 202fddf75ee..c70888d9b6c 100644
--- a/gcc/cif-code.def
+++ b/gcc/cif-code.def
@@ -124,6 +124,10 @@ DEFCIFCODE(USES_COMDAT_LOCAL, CIF_FINAL_ERROR,
 DEFCIFCODE(ATTRIBUTE_MISMATCH, CIF_FINAL_ERROR,
 	   N_("function attribute mismatch"))
 
+/* We can't inline because of mismatched caller/callee attributes.  */
+DEFCIFCODE(CILK_SPAWN, CIF_FINAL_ERROR,
+	   N_("caller function contains cilk spawn"))
+
 /* We proved that the call is unreachable.  */
 DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR,
 	   N_("unreachable"))
-- 
cgit v1.2.1

