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
+2015-03-25 Ilya Enkovich <ilya.enkovich@intel.com>
+
+ PR target/65508
+ * tree-chkp.c (chkp_add_bounds_to_call_stmt): Set static
+ chain for generated call.
+
2015-03-25 Richard Biener <rguenther@suse.de>
* passes.c (pass_manager::execute_early_local_passes): Guard
+2015-03-25 Ilya Enkovich <ilya.enkovich@intel.com>
+
+ PR target/65508
+ * gcc.target/i386/mpx/pr65508.c: New.
+
2015-03-25 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/64952
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2 -fcheck-pointer-bounds -mmpx" } */
+
+void
+bar (int N)
+{
+ int a[N];
+ void foo (int a[N])
+ {
+ }
+ foo (a);
+}
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 ();