[PATCH] Fix gcc.dg/pr36504.c (PR testsuite/36620)
Jakub Jelinek
jakub@redhat.com
Sun Jun 29 10:47:00 GMT 2008
Hi!
This patch prevents
-fprefetch-loop-arrays not supported for this target
warnings on some targets. Committed as obvious to trunk/4.3.
2008-06-29 Jakub Jelinek <jakub@redhat.com>
PR testsuite/36620
* gcc.dg/pr36504.c: Add -w to dg-options.
--- gcc/testsuite/gcc.dg/pr36504.c (revision 137248)
+++ gcc/testsuite/gcc.dg/pr36504.c (working copy)
@@ -1,6 +1,6 @@
/* PR tree-optimization/36504 */
/* { dg-do compile } */
-/* { dg-options "-O3 -fprefetch-loop-arrays" } */
+/* { dg-options "-O3 -fprefetch-loop-arrays -w" } */
struct A { struct { int a; } b[8]; };
struct B { int c; int d; };
Jakub
More information about the Gcc-patches
mailing list