This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix bug in gcse
> > > GCSE segfaults in constprop_register when NEXT_INSN (insn) == NULL
> > > when compiling following testcase on machine supporting
> > > -fprefetch-loop-arrays with "-O2 -fprefetch-loop-arrays".
> >
> > It does? On which branch? I couldn't reproduce it with
> > "-march=pentium4 -O2 -fprefetch-loop-arrays" for either
> > 3.3 or mainline.
>
> I believe it is the case for x86-64, but I may be wrong.
> (x86-64 is failing in some SPEC tests since the jump bypassing changes
> went in)
Yes, you are right, some SPEC2000 tests are failing on x86-64 when using
mainline compiler and this patch fixes it.
Josef