* cif-code.def (CILK_SPAWN): New code.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 26 Mar 2015 21:10:28 +0000 (22:10 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 26 Mar 2015 21:10:28 +0000 (21:10 +0000)
From-SVN: r221710

gcc/ChangeLog
gcc/cif-code.def

index 5593ef8fd15f4ed99633aeb826b2072dafc1694a..0d4d17287f247a2ae3c39488c67eccafe6d1a3d2 100644 (file)
@@ -17,6 +17,7 @@
        cross check to ...
        (cgraph_node::verify_node): ... here; verify only callee edges,
        not caller.
+       * cif-code.def (CILK_SPAWN): New code.
 
 2015-03-26  Jan Hubicka  <hubicka@ucw.cz>
 
index 202fddf75ee04448652ab6d60617ac0c4fab96da..c70888d9b6c906d89ed1e63509137271673bfa48 100644 (file)
@@ -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"))