r225270 - in /trunk/gcc: cp/ChangeLog cp/class....
jason@gcc.gnu.org
jason@gcc.gnu.org
Wed Jul 1 17:59:00 GMT 2015
Author: jason
Date: Wed Jul 1 17:59:19 2015
New Revision: 225270
URL: https://gcc.gnu.org/viewcvs?rev=225270&root=gcc&view=rev
Log:
PR c++/65945
* decl.c (cxx_init_decl_processing): Set TYPE_ALIGN of nullptr_t.
* class.c (layout_nonempty_base_or_field): Warn if that affects
the offset of a field.
Added:
trunk/gcc/testsuite/g++.dg/abi/nullptr-align.C
trunk/gcc/testsuite/g++.dg/abi/nullptr-align2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/decl.c
More information about the Gcc-cvs
mailing list