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

Reply via email to