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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct 21 11:46:21 2019
New Revision: 277255

URL: https://gcc.gnu.org/viewcvs?rev=277255&root=gcc&view=rev
Log:
        Backported from mainline
        2019-10-01  Jakub Jelinek  <ja...@redhat.com>

        PR c++/91925
        * c-warn.c (check_alignment_of_packed_member): Ignore FIELD_DECLs
        with NULL DECL_FIELD_OFFSET.

        * g++.dg/conversion/packed2.C: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/conversion/packed2.C
Modified:
    branches/gcc-9-branch/gcc/c-family/ChangeLog
    branches/gcc-9-branch/gcc/c-family/c-warn.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to