tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of bounds narrowing...
authorIlya Enkovich <ilya.enkovich@intel.com>
Tue, 27 Jan 2015 09:09:28 +0000 (09:09 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Tue, 27 Jan 2015 09:09:28 +0000 (09:09 +0000)
commit3dd598be88193ee087ab51312b5e464b2d6e2891
treea2bf30768dbb9420eeae351f01e4395ac6b1b049
parentb30ea1387f8e26ad60bd4d71ba2006ea7e11a6ee
tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of bounds narrowing...

gcc/

* tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of
bounds narrowing, already instrumented calls and calls to
not instrumentable functions.

gcc/testsuite/

* gcc.target/i386/chkp-narrow-bounds.c: New.

From-SVN: r220154
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c [new file with mode: 0644]
gcc/tree-chkp.c