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++/45908] [C++0x] ICE involving decltype: in tree_low_cst, at tree.h:4114


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

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-10-06 14:35:33 UTC ---
Author: ebotcazou
Date: Wed Oct  6 14:35:25 2010
New Revision: 165031

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165031
Log:
    PR c++/45908
    * typeck.c (cp_build_addr_expr_1): Add check for incomplete types in
    code folding offsetof-like computations.

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


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