This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33506] [4.2/4.3 Regression] TYPE_RAISES_EXCEPTIONS dumped with attributes



------- Comment #1 from jakub at gcc dot gnu dot org  2007-09-24 15:16 -------
Subject: Bug 33506

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33506


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]