re PR debug/48703 (segfault in canonicalize_for_substitution)
authorRichard Guenther <rguenther@suse.de>
Thu, 21 Apr 2011 14:35:43 +0000 (14:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Apr 2011 14:35:43 +0000 (14:35 +0000)
commitaa2a43d2e803ed840117e86c7a3d1684498e19fc
tree31d2707648b75e245c16df09a78879a825b6a7eb
parent4d931f416b5965da48263badb0822b3dbba190d7
re PR debug/48703 (segfault in canonicalize_for_substitution)

2011-04-21  Richard Guenther  <rguenther@suse.de>

PR lto/48703
* tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of
DECL_NAME.

* g++.dg/lto/pr48207-2_0.C: New testcase.
* g++.dg/lto/pr48207-3_0.C: Likewise.

From-SVN: r172830
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr48207-2_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr48207-3_0.C [new file with mode: 0644]
gcc/tree.c