diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-03-25 21:06:09 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-03-25 21:06:09 +0100 |
commit | 0b86a6438191f720bebf880a2b932cd97d10229a (patch) | |
tree | fe2f1d624a8ddf0a5f1da8b784038ece1257a74e /libphobos/src | |
parent | 9efd72d28956eb79c7fca38e3c959733a3bb25bb (diff) | |
download | gcc-0b86a6438191f720bebf880a2b932cd97d10229a.zip gcc-0b86a6438191f720bebf880a2b932cd97d10229a.tar.gz gcc-0b86a6438191f720bebf880a2b932cd97d10229a.tar.bz2 |
c++: Diagnose bare parameter packs in bitfield widths [PR99745]
The following invalid tests ICE because we don't diagnose (and drop) bare
parameter packs in bitfield widths.
2021-03-25 Jakub Jelinek <jakub@redhat.com>
PR c++/99745
* decl2.c (grokbitfield): Diagnose bitfields containing bare parameter
packs and don't set DECL_BIT_FIELD_REPRESENTATIVE in that case.
* g++.dg/cpp0x/variadic181.C: New test.
Diffstat (limited to 'libphobos/src')
0 files changed, 0 insertions, 0 deletions