https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216
ibuclaw at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-03-16 --- Comment #2 from ibuclaw at gcc dot gnu.org --- Hi Daniel, Thanks for the patch, however instead I've gone with just marking the thunks as non-public. This is because the body generated for such thunks is different from the case where the thunk and target function are in the same compilation unit.