Skip to content
Snippets Groups Projects
Commit 1ae3075b authored by Richard Guenther's avatar Richard Guenther Committed by Richard Biener
Browse files

re PR debug/42425 (ICE declaring local class)

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.

From-SVN: r158722
parent 4b5caab7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment