diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2015-01-16 13:08:24 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-01-16 13:08:24 +0000 |
commit | 06201ad5be6f9e6403e6ad9a00f4a9d342b82d36 (patch) | |
tree | b5038b43de84cfd22a1155dcfdf3b9d8bf034b4c /gcc/tree-inline.h | |
parent | eb13ee31dbf5b07b443fa2ea94441031075f8ecc (diff) | |
download | gcc-06201ad5be6f9e6403e6ad9a00f4a9d342b82d36.zip gcc-06201ad5be6f9e6403e6ad9a00f4a9d342b82d36.tar.gz gcc-06201ad5be6f9e6403e6ad9a00f4a9d342b82d36.tar.bz2 |
re PR target/64363 (Unresolved labels with -fcheck-pointer-bounds and -mmpx)
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.
From-SVN: r219733
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index 985d83b..f8b2ebf 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -234,6 +234,7 @@ extern tree remap_type (tree type, copy_body_data *id); extern gimple_seq copy_gimple_seq_and_replace_locals (gimple_seq seq); extern bool debug_find_tree (tree, tree); extern tree copy_fn (tree, tree&, tree&); +extern const char *copy_forbidden (struct function *fun, tree fndecl); /* This is in tree-inline.c since the routine uses data structures from the inliner. */ |