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 <mse...@gcc.gnu.org>:

https://gcc.gnu.org/g:dbfba41e95d1d93b17e907b7f516b52ed3a3c415

commit r10-6789-gdbfba41e95d1d93b17e907b7f516b52ed3a3c415
Author: Martin Sebor <mse...@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.

Reply via email to