[Bug c++/91925] [9/10 Regression] -fpack-struct causes a decltype with template to ICE
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 21 11:46:00 GMT 2019
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 <jakub@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
More information about the Gcc-bugs
mailing list