re PR lto/48042 (lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program)
authorRichard Guenther <rguenther@suse.de>
Fri, 9 Dec 2011 13:49:22 +0000 (13:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 9 Dec 2011 13:49:22 +0000 (13:49 +0000)
commit4a33ac4a77ac2c57d47017043e1fdc2f13fb3103
tree06a4f607822c889d5798d6050ff94c0c9ceec399
parent7543f91816ec7402e501d2afa09d7f18ac8bee61
re PR lto/48042 (lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program)

2011-12-09  Richard Guenther  <rguenther@suse.de>

PR lto/48042
* tree.c (free_lang_data_in_decl): Remove freeing conditional
on debuginfo level.

* g++.dg/lto/pr48042_0.C: New testcase.

From-SVN: r182163
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr48042_0.C [new file with mode: 0644]
gcc/tree.c