From: Jan Hubicka Date: Thu, 26 Mar 2015 21:10:28 +0000 (+0100) Subject: * cif-code.def (CILK_SPAWN): New code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f809d2138c7ab3656f12eb4deb3bf9191f1e12c3;p=gcc.git * cif-code.def (CILK_SPAWN): New code. From-SVN: r221710 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5593ef8fd15..0d4d17287f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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"))