https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88222

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Nov 28 20:03:06 2018
New Revision: 266581

URL: https://gcc.gnu.org/viewcvs?rev=266581&root=gcc&view=rev
Log:
        PR c++/88222 - ICE with bit-field with invalid type.
        * decl.c (grokdeclarator): Check if declarator is null.

        * g++.dg/ext/flexary31.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/flexary31.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to