re PR debug/59323 (Int. comp. error: in add_AT_specification, at dwarf2out.c:4026)
commit53a5717ecda2796f06cb8d15c2f0e951703479f6
authorRichard Biener <rguenther@suse.de>
Thu, 28 Nov 2013 12:09:10 +0000 (28 12:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 28 Nov 2013 12:09:10 +0000 (28 12:09 +0000)
treeb98c3c0e604906c0939a5ddd9eb0dda31e53a307
parentcceeb9a978fefd34dd6c3cc0dfc594e9eef1e14a
re PR debug/59323 (Int. comp. error: in add_AT_specification, at dwarf2out.c:4026)

2013-11-28  Richard Biener  <rguenther@suse.de>

PR lto/59323
* lto-streamer-out.c (tree_is_indexable): TYPE_DECLs and
CONST_DECLs in function context are not indexable.

* gcc.dg/lto/pr59323_0.c: New testcase.

From-SVN: r205481
gcc/ChangeLog
gcc/lto-streamer-out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr59323_0.c [new file with mode: 0644]