Undefined behavior in genautomata.c?
Giovanni Bajo
rasky@develer.com
Mon Sep 19 10:40:00 GMT 2005
Dave Korn <dave.korn@artimi.com> wrote:
> Do you suppose the idiom is common enough that VRP could special-case
> "arrays of size 1 at the end of a struct" ? And still obtain the benefits
> of the optimisation in 99.99% of all non-variable-length-tail-array cases?
It makes sense to me. We could special case "arrays of size 1 at the end of
the struct", and treat it as C99 flexible array members. Any other case
could simply be considered broken.
--
Giovanni Bajo
More information about the Gcc
mailing list