re PR c++/10179 (alignment attributes are not inherited correctly with empty classes)
authorJason Merrill <jason@redhat.com>
Fri, 28 Sep 2007 18:07:57 +0000 (14:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 28 Sep 2007 18:07:57 +0000 (14:07 -0400)
commitd9d9dbc0d0d3a1f419115367cfe23992a92f822b
treec0601f8dd3b95792f0db5c5bd35d56980a712650
parent930a1e6372869fa553130c5e7fa22c27485b7ec5
re PR c++/10179 (alignment attributes are not inherited correctly with empty classes)

        PR c++/10179
        * class.c (layout_empty_base): Take rli parameter, update
        rli->record_align if empty base has user-specified alignment.
        (build_base_field): Pass rli to it.

From-SVN: r128871
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/ext/align2.C [new file with mode: 0644]