[Bug c++/93753] [8/9/10 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
Fri Feb 21 17:47:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93753
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:dbfba41e95d1d93b17e907b7f516b52ed3a3c415
commit r10-6789-gdbfba41e95d1d93b17e907b7f516b52ed3a3c415
Author: Martin Sebor <msebor@redhat.com>
Date: Fri Feb 21 10:45:56 2020 -0700
PR c++/93753 - ICE on a flexible array followed by a member in an anonymous
struct with an initializer
gcc/cp/ChangeLog:
PR gcov-profile/93753
* class.c (check_flexarrays): Tighten up a test for potential members
of anonymous structs or unions.
gcc/testsuite/ChangeLog:
PR gcov-profile/93753
* g++.dg/ext/flexary36.C: New test.
* g++.dg/lto/pr93166_0.C: Make struct with flexarray valid.
More information about the Gcc-bugs
mailing list