diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2014-11-26 14:37:07 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2014-11-26 14:37:07 +0000 |
commit | 4186636315b90403a2dc34952b34f6ab4b79ed16 (patch) | |
tree | d9ff86887b246f14c4c99fc07c66b614b4210e7f /gcc/tree-chkp-opt.c | |
parent | 0bae64d5800c779f2ee6aa5b823a9031f24a0fb2 (diff) | |
download | gcc-4186636315b90403a2dc34952b34f6ab4b79ed16.zip gcc-4186636315b90403a2dc34952b34f6ab4b79ed16.tar.gz gcc-4186636315b90403a2dc34952b34f6ab4b79ed16.tar.bz2 |
re PR bootstrap/63995 (Bootstrap error with -mmpx -fcheck-pointer-bounds)
gcc/
PR bootstrap/63995
* tree-chkp-opt.c (chkp_reduce_bounds_lifetime): Ignore
debug statement when searching for a new position for
bounds load/creation statement.
gcc/testsuite/
PR bootstrap/63995
* gcc.target/i386/pr63995-2.c: New.
From-SVN: r218085
Diffstat (limited to 'gcc/tree-chkp-opt.c')
-rw-r--r-- | gcc/tree-chkp-opt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-chkp-opt.c b/gcc/tree-chkp-opt.c index ff390d7..92e0694 100644 --- a/gcc/tree-chkp-opt.c +++ b/gcc/tree-chkp-opt.c @@ -1175,6 +1175,9 @@ chkp_reduce_bounds_lifetime (void) FOR_EACH_IMM_USE_STMT (use_stmt, use_iter, op) { + if (is_gimple_debug (use_stmt)) + continue; + if (dom_bb && dominated_by_p (CDI_DOMINATORS, dom_bb, gimple_bb (use_stmt))) |