This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Allow relayout_decl on FIELD_DECLs (PR c/72816)
On Wed, 10 Aug 2016, Jakub Jelinek wrote:
> 2016-08-10 Jakub Jelinek <jakub@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: New test.
OK (subject to testing).
--
Joseph S. Myers
joseph@codesourcery.com