re PR debug/88644 (Unexpected pub type info eliminated after r246973 (causes pubtypes...
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Jan 2019 11:05:24 +0000 (12:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Jan 2019 11:05:24 +0000 (12:05 +0100)
commitc04d40dae8a490e28d4f07c46e57719fb0a4eaf6
treefb1fc31d3445b2773c646f450812c1f9d995ef8f
parent8ae4d4298d9460344c47687899d927ff3264a343
re PR debug/88644 (Unexpected pub type info eliminated after r246973 (causes pubtypes-*.c to regress).)

PR debug/88644
* dwarf2out.c (modified_type_die): If type is equal to sizetype,
change it to qualified_type.

* gcc.dg/debug/dwarf2/pr88644.c: New test.
* gcc.dg/debug/dwarf2/pr80263.c: Remove darwin hack.

2019-01-03  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.dg/pubtypes-2.c: Adjust expected pubtypes length.
* gcc.dg/pubtypes-3.c: Likewise.
* gcc.dg/pubtypes-4.c: Likewise.

From-SVN: r267550
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c
gcc/testsuite/gcc.dg/debug/dwarf2/pr88644.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pubtypes-2.c
gcc/testsuite/gcc.dg/pubtypes-3.c
gcc/testsuite/gcc.dg/pubtypes-4.c