https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65527

--- Comment #3 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
Author: ienkovich
Date: Wed Jun 17 07:42:39 2015
New Revision: 224547

URL: https://gcc.gnu.org/viewcvs?rev=224547&root=gcc&view=rev
Log:
gcc/

        Backport from mainline r223929.
        2015-06-01  Ilya Enkovich  <ilya.enkov...@intel.com>

        PR target/65527
        * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Add
        redirection for instrumented calls.
        * lto-wrapper.c (merge_and_complain): Merge -fcheck-pointer-bounds.
        (append_compiler_options): Append -fcheck-pointer-bounds.
        * tree-chkp.h (chkp_copy_call_skip_bounds): New.
        (chkp_redirect_edge): New.
        * tree-chkp.c (chkp_copy_call_skip_bounds): New.
        (chkp_redirect_edge): New.

gcc/testsuite/

        Backport from mainline r223929.
        2015-06-01  Ilya Enkovich  <ilya.enkov...@intel.com>

        PR target/65527
        * gcc.target/i386/mpx/chkp-fix-calls-1.c: New.
        * gcc.target/i386/mpx/chkp-fix-calls-2.c: New.
        * gcc.target/i386/mpx/chkp-fix-calls-3.c: New.
        * gcc.target/i386/mpx/chkp-fix-calls-4.c: New.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-1.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-2.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-3.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-4.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/cgraph.c
    branches/gcc-5-branch/gcc/lto-wrapper.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-chkp.c
    branches/gcc-5-branch/gcc/tree-chkp.h

Reply via email to