https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |iains at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Last reconfirmed| |2021-11-19 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, so confirmed with -fno-checking. With -fchecking I see t.i:553:1: error: location references block not in block tree 553 | } // namespace std | ^ _Coro_frameptr = 0B; t.i:553:1: error: location references block not in block tree _Coro_promise_live = 0; t.i:553:1: error: location references block not in block tree _Coro_gro_live = 0; t.i:553:1: error: location references block not in block tree _1 = 48; t.i:553:1: error: location references block not in block tree D.6221 = operator new (_1); t.i:553:1: error: location references block not in block tree ... so I wonder if that's an artifact of the reduction to invalid? Can you repeat the reduction in a way so the testcase keeps valid (accepted by clang)?