This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Fix PR19401: always completely peel loops
On Thu, 13 Jan 2005 16:49:02 -0500, Andrew Pinski
<pinskia@physics.uc.edu> wrote:
>
> On Jan 13, 2005, at 4:44 PM, Richard Guenther wrote:
>
> > int a[4];
> > for (int i=0; i<4; ++i)
> > a[i] = i;
> >
> > (or better a more useful example where scalarization has a benefit)
>
> There are already a couple, see PR 18754 and PR 9895
Indeed - there is even a patch from me for PR18754 ... 8)
I have been bitten by this complete loop unrolling and scalarization
too often...
Richard.