Hi In maybe_promote_captured_temps, the cleanup_point_stmt has been stripped when handle temporaries captured by reference. However, maybe there are non-reference temporaries in current stmt which cause ice in gimpilify pass. This patch fix this. The testcase comes from cppcoro and is reduced by creduce. Bootstrap and test on X86_64, is it OK? Regards JunMa gcc/cp 2020-02-11  Jun Ma         * coroutines.cc (maybe_promote_captured_temps): Do not strip         cleanup_point_stmt. gcc/testsuite 2020-02-11  Jun Ma         * g++.dg/coroutines/torture/lambda-09-capture-object.C: New test.