Patch to Avoid Bad Prefetching

Andrew Pinski pinskia@gmail.com
Mon Jun 8 18:16:00 GMT 2009


On Fri, Jun 5, 2009 at 11:01 AM, Richard
Guenther<richard.guenther@gmail.com> wrote:
> On Fri, Jun 5, 2009 at 4:53 PM, Shobaki, Ghassan<Ghassan.Shobaki@amd.com> wrote:
>> A ChangeLog entry was included in the original email. Here it is again. Does it look OK?
>
> It misses the doc/invoke.texi changes but otherwise looks ok.

This causes a bootstrap issue on powerpc-darwin:
/Users/regress/tbox/svn-gcc/gcc/tree-ssa-loop-prefetch.c:1589:7:
error: format '%ld' expects type 'long int', but argument 5 has type
'long long int'

%ld should not be used for HOST_WIDE_INT but rather
HOST_WIDE_INT_PRINT_DEC should be used.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list