This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Alias sets for VLAs and strict aliasing warnings (PR 41673)
On Fri, 23 Oct 2009, Richard Guenther wrote:
> The change is ok, but I wonder why the C FE sets
> TYPE_STRUCTURAL_EQUALITY_P on VLAs. As you can see
It's not the front end setting it - tree.c:build_index_type sets it for
the index type with nonconstant bounds, while tree.c:build_array_type sets
it for arrays if it is set for either the element type or the index type.
--
Joseph S. Myers
joseph@codesourcery.com