re PR lto/64373 (ICE with lto related to variably modified type)
authorRichard Biener <rguenther@suse.de>
Tue, 13 Jan 2015 13:57:27 +0000 (13:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Jan 2015 13:57:27 +0000 (13:57 +0000)
commite0ffb247d696aa7a98088e0cd9c647947b1d5d39
tree854c9d0bb800017b021b7eb0db8a466fb5f1ba8d
parentbf84ac44f9679285d95ac0c96c0e2e83b7ef038f
re PR lto/64373 (ICE with lto related to variably modified type)

2015-01-13  Richard Biener  <rguenther@suse.de>

PR lto/64373
* lto-streamer-out.c (tree_is_indexable): Guard for NULL
DECL_CONTEXT.

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

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