https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70219
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 37953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37953&action=edit gcc6-pr70219.patch Untested fix. The code had assertion dregno > 0, but I don't see anything special on register 0 (%rax on x86_64), assuming Vlad meant >= 0 here (i.e. make sure dregno is not negative, which is not a hard register, but has special meaning).