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++/32260] [4.3 Regression] too many warning: dereferencing type-punned pointer will break strict-aliasing rules



------- Comment #5 from jakub at gcc dot gnu dot org  2007-11-01 22:50 -------
Subject: Bug 32260

Author: jakub
Date: Thu Nov  1 22:50:32 2007
New Revision: 129835

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129835
Log:
        PR c++/32260
        * rtti.c (enum_tinfo_kind): Fix TK_TYPE_INFO_TYPE comment.
        (typeid_ok_p): Use the same alias set for abi::__type_info_pseudo
        as for std::type_info.

        * g++.dg/rtti/typeid7.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/rtti/typeid7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/rtti.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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