https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334
--- Comment #4 from Stas Sergeev <stsp at users dot sourceforge.net> --- Would it be possible to at least show the correct line number where the register allocation actually failed? gcc points to a rather "random" line, and it required many hours of an engineer work to find the problematic spot in a large project. It really is not the good handling of this problem. And I don't understand why it is impossible to add error or warning if gcc emits 8bit reference for "r" and knows it is not supposed to work.