This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix overzealous folding
On Fri, May 30, 2008 at 9:10 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Another common problem are Ada integer sub-types, where we are _not_
>> allowed to take advantage of their range.
>
> Not so simple. I think your patch that takes advantages of the subtype range
> for parameters is OK. Do you plan to commit it at some point?
I'd like to defer that until after the summit - it is a "hack" IMHO,
as it doesn't
treat the subtypes equal at every place (but only if coming in from function
calls). So, let's talk in person about the issues - I'll try to prepare with a
sheet of paper with questions ;)
Thanks,
Richard.