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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Aug 11 15:14:17 2016
New Revision: 239374

URL: https://gcc.gnu.org/viewcvs?rev=239374&root=gcc&view=rev
Log:
        Backported from mainline
        2016-08-11  Jakub Jelinek  <ja...@redhat.com>

        PR c/72816
        * c-decl.c (grokdeclarator): When adding TYPE_DOMAIN for flexible
        array member through typedef, for orig_qual_indirect == 0 clear
        orig_qual_type.

        * gcc.dg/pr72816.c: Remove dg-error.

        2016-08-07  Jakub Jelinek  <ja...@redhat.com>

        PR c/72816
        * gcc.dg/pr72816.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr72816.c
Modified:
    branches/gcc-6-branch/gcc/c/ChangeLog
    branches/gcc-6-branch/gcc/c/c-decl.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to