re PR lto/42653 (ICE with -g and -flto (requires both flags to crash))
authorRichard Guenther <rguenther@suse.de>
Fri, 23 Apr 2010 14:20:59 +0000 (14:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 23 Apr 2010 14:20:59 +0000 (14:20 +0000)
commitc67f69a3f3977669094ed9a815116d2b97ac09d1
tree50df64df3664841767cd0b745467545dd81c33a7
parent086058c2a6338dc9e0f1b8d0962da1ee7363f4c7
re PR lto/42653 (ICE with -g and -flto (requires both flags to crash))

2010-04-23  Richard Guenther  <rguenther@suse.de>

PR lto/42653
* tree.c (free_lang_data_in_decl): Do not reset DECL_CONTEXT
of FUNCTION_DECLs.

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

From-SVN: r158666
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/20100423-1_0.C [new file with mode: 0644]
gcc/tree.c