This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch PR44576]: Don't do further analysis if we could know prefetching is not benefitial
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