r128718 - in /trunk/gcc: ChangeLog cp/ChangeLog...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Sep 24 15:16:00 GMT 2007


Author: jakub
Date: Mon Sep 24 15:16:23 2007
New Revision: 128718

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128718
Log:
	PR c++/33506
	* langhooks.h (struct lang_hooks_for_types): Add type_hash_eq
	field.
	* langhooks-def.h (LANG_HOOKS_TYPE_HASH_EQ): Define.
	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_TYPE_HASH_EQ.
	* tree.c (type_hash_eq): For FUNCTION_TYPE use
	lang_hooks.type.type_hash_eq in addition to generic tests.

	* cp-tree.h (cxx_type_hash_eq): New prototype.
	* cp-objcp-common.h (LANG_HOOKS_TYPE_HASH_EQ): Redefine.
	* tree.c (cxx_type_hash_eq): New function.

	* g++.dg/ext/attrib29.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/attrib29.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-objcp-common.h
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/tree.c
    trunk/gcc/langhooks-def.h
    trunk/gcc/langhooks.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c



More information about the Gcc-cvs mailing list