https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83868
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Eric Gallager from comment #1) > (In reply to H.J. Lu from comment #0) > > output_indirect_thunk_function and ix86_code_end should be generated > > the way in which normal thunks are output from middle-end. > > Which way is that? See: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01357.html