[3.1] prefetching failure

Janis Johnson janis187@us.ibm.com
Wed Jul 10 10:56:00 GMT 2002


On Wed, Jul 10, 2002 at 07:14:34PM +0200, Jan Hubicka wrote:
> > gcc 
> > -c -o reload1.o  -DSPEC_CPU2000_LP64          -O2 -fprefetch-loop-arrays reload1.c 
> > reload1.c: In function `order_regs_for_reload':
> > reload1.c:3713: Internal compiler error in copy_to_mode_reg, at explow.c:711
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> > 
> 
> Hi,
> this fixes the GCC prefetching failures.  It is backported Janis
> Johnson's patch.  Bootstrapped/regtested i386, OK for branch?
> 
> Honza
> 
> Wed Jul 10 19:12:41 CEST 2002  Janis Johnson  <janis187@us.ibm.com>
> 	* loop.c (emit_prefetch_instructions): Several small fixes.

This allows two SPEC CPU2000 tests to build on ia64-linux.  I hadn't
submitted it for the 3.1 branch because prefetch support is new and so
it's not a regression, but it only affects -fprefetch-loop-arrays and
can't break anything else.

Jan, this is one small fix, not several as in the mainline patch, so
you ought to fix the ChangeLog entry if this is accepted.

Janis



More information about the Gcc-patches mailing list