summaryrefslogtreecommitdiff
path: root/gcc/cif-code.def
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-16 19:33:02 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-16 19:33:02 +0000
commit18cbf8e0863ffde9f056797bda1edda609448ec5 (patch)
tree7c95157fdec589bf4c2449659d0737681576009a /gcc/cif-code.def
parent34cbd75f6c452d498a3a322460ba7656020a44fa (diff)
downloadgcc-18cbf8e0863ffde9f056797bda1edda609448ec5.tar.gz
* ipa-inline-analysis.c (compute_inline_parameters): Disable inlinig
into instrumentation thunks. * cif-code.def (CIF_CHKP): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236299 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cif-code.def')
-rw-r--r--gcc/cif-code.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cif-code.def b/gcc/cif-code.def
index 196151fe8d2..b5e019ffb7b 100644
--- a/gcc/cif-code.def
+++ b/gcc/cif-code.def
@@ -135,3 +135,7 @@ DEFCIFCODE(CILK_SPAWN, CIF_FINAL_ERROR,
/* We proved that the call is unreachable. */
DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR,
N_("unreachable"))
+
+/* We can't inline because of instrumentation thunk. */
+DEFCIFCODE(CHKP, CIF_FINAL_ERROR,
+ N_("caller is instrumetnation thunk"))