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

c-decl.c (pop_scope): Always set file-scope DECL_CONTEXT.

2010-09-24  Richard Guenther  <rguenther@suse.de>

	* c-decl.c (pop_scope): Always set file-scope DECL_CONTEXT.
	Make sure to not call set_type_context with error_mark_node.
	* langhooks.c (lhd_set_decl_assembler_name): Use DECL_FILE_SCOPE_P.

	* gcc.dg/lto/20091006-2_0.c: Prune warnings.

From-SVN: r164591
parent de6ba7ae
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