/[gcc]
ViewVC logotype

Revision 114607


Jump to revision: Previous Next
Author: jakub
Date: Tue Jun 13 09:21:30 2006 UTC (3 years, 6 months ago)
Changed paths: 8
Log Message:
	PR middle-end/27793
	* cp-tree.h (cxx_int_tree_map): New struct.
	(struct language_function): Add extern_decl_map field.
	* name-lookup.c (pushdecl_maybe_friend): Add x -> t mapping
	to cp_function_chain->extern_decl_map hash table instead of
	copying over DECL_UID.
	* cp-gimplify.c (cxx_int_tree_map_eq, cxx_int_tree_map_hash): New
	functions.
	(cp_genericize_r): Remap DECL_EXTERN local decls using
	cp_function_chain->extern_decl_map hash table.
	* decl.c (finish_function): Clear extern_decl_map.

	PR c++/26757
	PR c++/27894
	* g++.dg/tree-ssa/pr26757.C: New test.
	* g++.dg/tree-ssa/pr27894.C: New test.

Changed paths:

Path Details
Directorytrunk/gcc/cp/ChangeLog modified , text changed
Directorytrunk/gcc/cp/cp-gimplify.c modified , text changed
Directorytrunk/gcc/cp/cp-tree.h modified , text changed
Directorytrunk/gcc/cp/decl.c modified , text changed
Directorytrunk/gcc/cp/name-lookup.c modified , text changed
Directorytrunk/gcc/testsuite/ChangeLog modified , text changed
Directorytrunk/gcc/testsuite/g++.dg/tree-ssa/pr26757.C added
Directorytrunk/gcc/testsuite/g++.dg/tree-ssa/pr27894.C added

  ViewVC Help
Powered by ViewVC 1.1.2