re PR target/88178 (ICE in dbx_reg_number, at dwarf2out.c:13659)
authorUros Bizjak <ubizjak@gmail.com>
Mon, 26 Nov 2018 20:50:57 +0000 (21:50 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 26 Nov 2018 20:50:57 +0000 (21:50 +0100)
commit02ef9b0c2d73bac1e3bc3f8cc8c1e1f43826a04b
tree76ea6615d56d5a888fd319a7ae4a2d2c4faa1eb0
parent73d062d1184c1118c20aea50a8e2c32ad2d8e19a
re PR target/88178 (ICE in dbx_reg_number, at dwarf2out.c:13659)

PR target/88178
* config/i386/i386.c (dbx_register_map): Use IGNORED_DWARF_REGNUM
for registers for which no debug information can be generated.
Use INVALID_REGNUM for non-existent registers.
(dbx64_register_map): Ditto.
(svr4_dbx_register_map): Ditto.

testsuite/ChangeLog:

PR target/88178
* gcc.target/pr88178.c: New test.

From-SVN: r266480
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr88178.c [new file with mode: 0644]