OSDN Git Service

2010-04-26 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Apr 2010 09:13:00 +0000 (09:13 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:49:27 +0000 (13:49 +0900)
commitfa385a51201a2bb112882e3849e7867b11ea936f
tree2f8e601d0257ad75299d706bb0ac7dafd554aa32
parentbc9db06469ec731db429f55c83227d260c30482b
2010-04-26  Richard Guenther  <rguenther@suse.de>

PR lto/42425
* tree.c (free_lang_data_in_type): Do not free TYPE_CONTEXT
if emitting debug information and it is either a function
or a namespace decl.

* g++.dg/lto/20100423-2_0.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158722 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/tree.c