From f809d2138c7ab3656f12eb4deb3bf9191f1e12c3 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 26 Mar 2015 22:10:28 +0100 Subject: [PATCH] * cif-code.def (CILK_SPAWN): New code. From-SVN: r221710 --- gcc/ChangeLog | 1 + gcc/cif-code.def | 4 ++++ 2 files changed, 5 insertions(+) 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")) -- 2.30.2