https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71146
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Thanks, Marek, I am looking into it now - the calls in thunk are unconditional, so I would expect the call in thunk to be unreachable iff the call of thunk is unreachable and in that case we should have redirected the thunk itself into __builtin_unreachable. So it seems there is something fishy going on. It may just be artifact on how we drop the conditions when they exceed the threshold. Honza