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++/38795] [4.3/4.4 regression] ICE with reinterpret_cast and variadic templates



------- Comment #2 from jakub at gcc dot gnu dot org  2009-01-13 18:12 -------
Subject: Bug 38795

Author: jakub
Date: Tue Jan 13 18:11:50 2009
New Revision: 143351

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143351
Log:
        PR c++/38795
        * tree.c (cp_walk_subtrees): Handle REINTERPRET_CAST_EXPR,
        STATIC_CAST_EXPR, CONST_CAST_EXPR and DYNAMIC_CAST_EXPR the same
        as CAST_EXPR.

        * g++.dg/cpp0x/pr38795.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr38795.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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