This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fold constant shifts in combine
> Jan Hubicka wrote:-
>
> > Most of the shifts exceeding argument type are already simplified by the
> > generic code, but in some cases it does not match.
>
> Isn't it better to fix wherever they're falling through or being
> generated? Otherwise, if they are eventually fixed, we have stale code
fold_const can not simplify this as it needs information from two
separate statements.
Or if you are refering to source code, it comes from automatically
generated one.
Honza
> that no-one really knows if it does anything useful.
>
> Neil.