diff options
author | Richard Guenther <rguenther@suse.de> | 2010-09-24 13:21:30 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-09-24 13:21:30 +0000 |
commit | 116f30c3fe6af8ea6211f5cf8e0ac3b67fee1f18 (patch) | |
tree | 900072c0be45209de4c62493ca2c3e567bc209d5 /gcc/function.c | |
parent | de6ba7aee152a0c20572bf6250426862c5caf323 (diff) | |
download | gcc-116f30c3fe6af8ea6211f5cf8e0ac3b67fee1f18.zip gcc-116f30c3fe6af8ea6211f5cf8e0ac3b67fee1f18.tar.gz gcc-116f30c3fe6af8ea6211f5cf8e0ac3b67fee1f18.tar.bz2 |
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
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions