This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C] Do not modify possibly shared types
On Fri, 10 Sep 2010, Richard Guenther wrote:
> Ok, so would be following patch be ok? It follows what the preceeding
> build_distinct_type_copy call does.
>
> Thanks,
> Richard.
>
> 2010-09-10 Richard Guenther <rguenther@suse.de>
>
> * c-decl.c (grokdeclarator): When modifying TYPE_SIZE manually
> create a distinct copy of the type.
This is OK.
--
Joseph S. Myers
joseph@codesourcery.com