On Tue, Jan 14, 2020 at 01:40:27PM +0000, RECOULES Frederic wrote: > Thank you both for your answers. > > Let me know if I am wrong, but it seems it is more a technical issue > than a conceptual one. So, the compiler could theoretically be patched > to perform this kind of forward address? Yes. If you write this asm in main() directly it already works, for example. > Yet, I would be glad to see such a cool feature, but I do not need it in > reality and it looks like it is a lot of work to obtain it. > > Still, I can file a bug if you want (at the gcc-bugs mailing list, is not it?) https://gcc.gnu.org/bugs/ I can do it, if you want. Let me know. Thanks, Segher