diff options
author | Jason Merrill <jason@redhat.com> | 2015-07-01 13:59:19 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-07-01 13:59:19 -0400 |
commit | d68f848b12654cb359951eb24608d9e1b5f05e64 (patch) | |
tree | 02021abfb17f1a5128da0a9911f59033583619eb /gcc/builtins.c | |
parent | f9a12f7b8fd56359f1eee124309fc783f83466b5 (diff) | |
download | gcc-d68f848b12654cb359951eb24608d9e1b5f05e64.zip gcc-d68f848b12654cb359951eb24608d9e1b5f05e64.tar.gz gcc-d68f848b12654cb359951eb24608d9e1b5f05e64.tar.bz2 |
re PR c++/65945 (C++ alignment of nullptr_t is 1 and might cause unaligned stores to the frame)
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.
From-SVN: r225270
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions