This patch changes the function cilk_gimplify_call_params_in_spawned_fn to use gimplify_arg instead of gimplify_expr. It fixes an ICE when calling a function with a constructed empty class as the argument. Bootstrapped and regression tested on x86_64-linux. 2016-01-15 Ryan Burn PR cilkplus/69267 * cilk.c (cilk_gimplify_call_params_in_spawned_fn): Change to use gimplify_arg. Removed superfluous post_p argument. * c-family.h (cilk_gimplify_call_params_in_spawned_fn): Removed superfluous post_p argument. * c-gimplify.c (c_gimplify_expr): Likewise. gcc/cp/ChangeLog: 2016-01-15 Ryan Burn PR cilkplus/69267 * cp-gimplify.c (cilk_cp_gimplify_call_params_in_spawned_fn): Removed superfluous post_p argument in call to cilk_gimplify_call_params_in_spawned_fn. gcc/testsuite/ChangeLog: 2016-01-15 Ryan Burn PR cilkplus/69267 * g++.dg/cilk-plus/CK/pr69267.cc: New test.