This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Undefined behavior in genautomata.c?
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Dave Korn <dave dot korn at artimi dot com>, 'Richard Henderson' <rth at redhat dot com>, 'Sebastian Pop' <sebastian dot pop at cri dot ensmp dot fr>, gcc at gcc dot gnu dot org, 'Vladimir Makarov' <vmakarov at redhat dot com>
- Date: Mon, 19 Sep 2005 09:01:09 -0400
- Subject: Re: Undefined behavior in genautomata.c?
- References: <SERRANO9Tpcy8Sx605n00000089@SERRANO.CAM.ARTIMI.COM> <m3psr51fh8.fsf@uniton.integrable-solutions.net>
> |
> | Do you suppose the idiom is common enough that VRP could special-case
> | "arrays of size 1 at the end of a struct" ?
>
> it could be array of size 2, 3, 4, 5, ...
Except that anything but array of size 1 is not "such a C idomatic
construct than I would not have expected any "optimizer" to break it."
>
> -- Gaby