This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64363] Unresolved labels with -fcheck-pointer-bounds and -mmpx
- From: "ienkovich at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Jan 2015 13:08:57 +0000
- Subject: [Bug target/64363] Unresolved labels with -fcheck-pointer-bounds and -mmpx
- Auto-submitted: auto-generated
- References: <bug-64363-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64363
--- Comment #2 from ienkovich at gcc dot gnu.org ---
Author: ienkovich
Date: Fri Jan 16 13:08:24 2015
New Revision: 219733
URL: https://gcc.gnu.org/viewcvs?rev=219733&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.target/i386/chkp-label-address.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-chkp.c
trunk/gcc/ipa-chkp.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-chkp.c
trunk/gcc/tree-inline.c
trunk/gcc/tree-inline.h