[Bug c++/45908] [C++0x] ICE involving decltype: in tree_low_cst, at tree.h:4114
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 6 14:35:00 GMT 2010
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
More information about the Gcc-bugs
mailing list