Does this look ok?
> On Jan 15, 2016, at 5:41 PM, Ryan Burn <rnickb...@gmail.com> wrote:
>
> 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 <cont...@rnburn.com>
>
> 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 <cont...@rnburn.com>
>
> 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 <cont...@rnburn.com>
>
> PR cilkplus/69267
> * g++.dg/cilk-plus/CK/pr69267.cc: New test.
>
>
>
> <pr69267.diff>