[Patch PR44576]: Don't do further analysis if we could know prefetching is not benefitial

Jakub Jelinek jakub@redhat.com
Mon Jul 12 10:32:00 GMT 2010


On Mon, Jul 12, 2010 at 12:29:46PM +0200, Christian Borntraeger wrote:
> Am Montag 12 Juli 2010, 00:52:10 schrieb Sebastian Pop:
> Index: gcc/testsuite/gcc.dg/prefetch-empty.c
> ===================================================================
> *** /dev/null
> --- gcc/testsuite/gcc.dg/tree-ssa/prefetch-empty.c
> ***************
> *** 0 ****
> --- 1,24 ----
> + /* This test case causes tree_num_loop_insns to return 0.  This has created
> +    problems when this value was used as divisor.  */
> + /* { dg-do compile } */
> + /* { dg-options "-c -O1 -fprefetch-loop-arrays -march=core2" { target { i?86-*-* x86_64-*-* } } } */
> + /* { dg-options "-c -O1 -fprefetch-loop-arrays -march=z10" { target { s390x-*-* } } } */

-c doesn't belong into dg-options.

	Jakub



More information about the Gcc-patches mailing list