https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106270
--- Comment #3 from Jose E. Marchesi <jose.marchesi at oracle dot com> --- Wilco: The assessment in comment 1 was extracted from an internal discussion on an issue that is still under investigation. We are certainly hitting a cant-reach-the-linker-generated-veneer problem, but it is not fully clear to us how since it is getting difficult to get proper reproducers. In any case, the idea of splitting of the text section by the compiler is interesting, and a much better solution than -mlong-calls since it wouldn't involve generate unnecessary indirect branches. But how would the back-end keep track on the size of the code it generates? Using insn size attributes?