diff options
author | ienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-16 13:08:24 +0000 |
---|---|---|
committer | ienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-16 13:08:24 +0000 |
commit | 66124ce759998e74294d1e8bfc5bb6277b206170 (patch) | |
tree | b5038b43de84cfd22a1155dcfdf3b9d8bf034b4c /gcc/ipa-chkp.h | |
parent | 304eacdf4d5d1ae129f6dd284b5e412ee76cfb3b (diff) | |
download | gcc-66124ce759998e74294d1e8bfc5bb6277b206170.tar.gz |
gcc/
PR target/64363
* ipa-chkp.h (chkp_instrumentable_p): New.
* ipa-chkp.c: Include tree-inline.h.
(chkp_instrumentable_p): New.
(chkp_maybe_create_clone): Use chkp_instrumentable_p.
Fix processing of not instrumentable functions.
(chkp_versioning): Use chkp_instrumentable_p. Warn about
not instrumentable functions.
* tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
chkp_instrumentable_p.
* tree-inline.h (copy_forbidden): New.
* tree-inline.c (copy_forbidden): Not static anymore.
gcc/testsuite/
PR target/64363
* gcc.target/i386/chkp-label-address.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219733 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-chkp.h')
-rw-r--r-- | gcc/ipa-chkp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-chkp.h b/gcc/ipa-chkp.h index b087227be7d..6708fe9c56a 100644 --- a/gcc/ipa-chkp.h +++ b/gcc/ipa-chkp.h @@ -23,5 +23,6 @@ along with GCC; see the file COPYING3. If not see extern tree chkp_copy_function_type_adding_bounds (tree orig_type); extern tree chkp_maybe_clone_builtin_fndecl (tree fndecl); extern cgraph_node *chkp_maybe_create_clone (tree fndecl); +extern bool chkp_instrumentable_p (tree fndecl); #endif /* GCC_IPA_CHKP_H */ |