[PATCH][RFC] Optimize type-punning union accesses to VIEW_CONVERT_EXPRs
Andrew Pinski
pinskia@gmail.com
Tue Mar 4 18:53:00 GMT 2008
On Tue, Mar 4, 2008 at 10:44 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> > At least at the moment we don't seem to make use of those ranges in
> > VRP, but you are right; I'll add such check.
>
> FWIW the installed change seems fine to me. Thanks to Andrew for noticing the
> potential problem for Ada.
Someone (I cannot remember right now) had mentioned this to me earlier
in another thread when I mentioned adding the folding of
VIEW_CONVERT_EXPR of integer types.
Thanks,
Andrew Pinski
More information about the Gcc-patches
mailing list