[Bug c++/93753] [8/9 Regression] ICE on a flexible array followed by a member in an anonymous struct with an initializer
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 5 16:41:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93753
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Martin Sebor
<msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:9ca4280a921b0094c7ef131c5c8a63b451ab9a05
commit r9-8342-g9ca4280a921b0094c7ef131c5c8a63b451ab9a05
Author: Martin Sebor <msebor@redhat.com>
Date: Thu Mar 5 09:37:25 2020 -0700
Backport fix for PR c++/93753 from trunk.
gcc/cp/ChangeLog:
Backport from trunk.
2020-02-21 Martin Sebor <msebor@redhat.com>
PR c++/93753
* class.c (check_flexarrays): Tighten up a test for potential members
of anonymous structs or unions.
gcc/testsuite/ChangeLog:
Backport from trunk.
2020-02-21 Martin Sebor <msebor@redhat.com>
PR c++/93753
* g++.dg/ext/flexary36.C: New test.
More information about the Gcc-bugs
mailing list