unwind-dw2.c (_Unwind_GetGR): Compare regno instead of index to DWARF_ZERO_REG.
authorUros Bizjak <ubizjak@gmail.com>
Tue, 19 Feb 2019 16:10:00 +0000 (17:10 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 19 Feb 2019 16:10:00 +0000 (17:10 +0100)
commitfe95aee9ce0a163194d4c986d15bd2b8f2abed3d
treeb3286b1770aebedd94c5c9b438b21fecca8eb94d
parent3b8f48d6f009cbd22b39966413421ad3a9e17ee3
unwind-dw2.c (_Unwind_GetGR): Compare regno instead of index to DWARF_ZERO_REG.

* unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
regno instead of index to DWARF_ZERO_REG.

From-SVN: r269021
libgcc/ChangeLog
libgcc/unwind-dw2.c