https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82210

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:31:38 2018
New Revision: 258191

URL: https://gcc.gnu.org/viewcvs?rev=258191&root=gcc&view=rev
Log:
        Backported from mainline
        2018-02-13  Jakub Jelinek  <ja...@redhat.com>

        PR c/82210
        * stor-layout.c (place_field): For variable length fields, adjust
        offset_align afterwards not just based on the field's alignment,
        but also on the size.

        * gcc.c-torture/execute/pr82210.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/execute/pr82210.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/stor-layout.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to