PATCH: [4.5 regression] Revision 148277 failed gcc.dg/tree-ssa/prefetch-5.c

H.J. Lu hjl.tools@gmail.com
Fri Jun 12 13:23:00 GMT 2009


On Mon, Jun 8, 2009 at 2:26 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Jun 5, 2009 at 8: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.
>
>
> I think this caused:
>
> FAIL: gcc.dg/tree-ssa/prefetch-5.c scan-tree-dump-times aprefetch
> "Issued prefetch" 2
>
> on Linux/ia32.
>

Since prefetch is changed, this patch is needed to adjust testsuite. OK
for trunk?

Thanks.

-- 
H.J.
--
2009-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/40384
	* gcc.dg/tree-ssa/prefetch-5.c: Add --param min-insn-to-prefetch-ratio=5
-------------- next part --------------
2009-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/40384
	* gcc.dg/tree-ssa/prefetch-5.c: Add --param min-insn-to-prefetch-ratio=5.

--- gcc/testsuite/gcc.dg/tree-ssa/prefetch-5.c.foo	2008-08-14 12:13:55.000000000 -0700
+++ gcc/testsuite/gcc.dg/tree-ssa/prefetch-5.c	2009-06-11 22:00:02.000000000 -0700
@@ -1,6 +1,6 @@
 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
 /* { dg-require-effective-target ilp32 } */
-/* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon -fdump-tree-aprefetch-details" } */
+/* { dg-options "-O2 --param min-insn-to-prefetch-ratio=5 -fprefetch-loop-arrays -march=athlon -fdump-tree-aprefetch-details" } */
 
 /* These are common idioms for writing variable-length arrays at the end
    of structures.  We should not deduce anything about the number of iterations


More information about the Gcc-patches mailing list