This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226941 - in /branches/gcc-5-branch/gcc: Change...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 17 Aug 2015 15:44:36 -0000
- Subject: r226941 - in /branches/gcc-5-branch/gcc: Change...
Author: jason
Date: Mon Aug 17 15:44:35 2015
New Revision: 226941
URL: https://gcc.gnu.org/viewcvs?rev=226941&root=gcc&view=rev
Log:
PR c++/65734
gcc/
* stor-layout.c (layout_type): Layout the TYPE_MAIN_VARIANT.
(finalize_type_size): Respect TYPE_USER_ALIGN.
(layout_type) [ARRAY_TYPE]: Likewise.
gcc/cp/
* class.c (fixup_attribute_variants): Respect TYPE_USER_ALIGN.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alignas1.C
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alignas2.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/class.c
branches/gcc-5-branch/gcc/stor-layout.c