diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-03-25 21:06:09 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-04-22 16:51:58 +0200 |
commit | 45f0ddc530eed61c45f1873a9cf7c85eb4f5da10 (patch) | |
tree | b78a584d446918001b3906df60b7b289bb517700 /gcc/print-rtl-function.c | |
parent | 6132dc70413163b96955a3ebca33c849eb2eb88e (diff) | |
download | gcc-45f0ddc530eed61c45f1873a9cf7c85eb4f5da10.zip gcc-45f0ddc530eed61c45f1873a9cf7c85eb4f5da10.tar.gz gcc-45f0ddc530eed61c45f1873a9cf7c85eb4f5da10.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.
(cherry picked from commit f8780caf07340f5d5e55cf5fb1b2be07cabab1ea)
Diffstat (limited to 'gcc/print-rtl-function.c')
0 files changed, 0 insertions, 0 deletions