[PATCH] Allow relayout_decl on FIELD_DECLs (PR c/72816)

Joseph Myers joseph@codesourcery.com
Wed Aug 10 15:31:00 GMT 2016


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



More information about the Gcc-patches mailing list