re PR target/64363 (Unresolved labels with -fcheck-pointer-bounds and -mmpx)
authorIlya Enkovich <ilya.enkovich@intel.com>
Fri, 16 Jan 2015 13:08:24 +0000 (13:08 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 16 Jan 2015 13:08:24 +0000 (13:08 +0000)
commit06201ad5be6f9e6403e6ad9a00f4a9d342b82d36
treeb5038b43de84cfd22a1155dcfdf3b9d8bf034b4c
parenteb13ee31dbf5b07b443fa2ea94441031075f8ecc
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
gcc/ChangeLog
gcc/ipa-chkp.c
gcc/ipa-chkp.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/chkp-label-address.c [new file with mode: 0644]
gcc/tree-chkp.c
gcc/tree-inline.c
gcc/tree-inline.h