diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2015-03-25 12:41:27 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-03-25 12:41:27 +0000 |
commit | b2953ba0cb7deb9202c6be5ecbbb9d078cede900 (patch) | |
tree | 56b77c8ccd2e4215ddbbe4945e04b06357a05d6b /gcc/tree-chkp.c | |
parent | 2bb9e67fff9e16f18d720c7cb5babbd5523f789f (diff) | |
download | gcc-b2953ba0cb7deb9202c6be5ecbbb9d078cede900.zip gcc-b2953ba0cb7deb9202c6be5ecbbb9d078cede900.tar.gz gcc-b2953ba0cb7deb9202c6be5ecbbb9d078cede900.tar.bz2 |
re PR target/65508 (ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function)
gcc/
PR target/65508
* tree-chkp.c (chkp_add_bounds_to_call_stmt): Set static
chain for generated call.
gcc/testsuite/
PR target/65508
* gcc.target/i386/mpx/pr65508.c: New.
From-SVN: r221661
Diffstat (limited to 'gcc/tree-chkp.c')
-rw-r--r-- | gcc/tree-chkp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-chkp.c b/gcc/tree-chkp.c index 977c460..03f75b3 100644 --- a/gcc/tree-chkp.c +++ b/gcc/tree-chkp.c @@ -1838,6 +1838,7 @@ chkp_add_bounds_to_call_stmt (gimple_stmt_iterator *gsi) new_call = gimple_build_call_vec (gimple_op (call, 1), new_args); gimple_call_set_lhs (new_call, gimple_call_lhs (call)); gimple_call_copy_flags (new_call, call); + gimple_call_set_chain (new_call, gimple_call_chain (call)); } new_args.release (); |