r165031 - in /trunk/gcc: cp/ChangeLog cp/typeck...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Wed Oct 6 14:35:00 GMT 2010
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-cvs
mailing list