This is the mail archive of the
mailing list for the GCC project.
Re: [Patch] Fix size of array with zero-sized element in Ada
On Fri, Oct 2, 2009 at 1:44 PM, Eric Botcazou <email@example.com> wrote:
>> On the no-undefined-overflow branch yes, and it can't hurt - can it?
> It's overkill in 99.99% of the cases, including in Ada, that's why the call to
> integer_zerop is only made when strictly necessary in the patch.
It's cheap and makes the code smaller and easier to read.