This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] gcc.dg/tree-ssa/gen-vect-11.c: Add -fwrpav.


Hi,

Attached is a patch to add -fwrapv to gen-vect-11.c.

After I fixed PR tree-optimization/25125, this testcase started
failing because the pattern matching cannot tolerate additional casts
introduced by the fix for PR 25125.

Tested on i686-pc-linux-gnu.  OK to apply?

Kazu Hirata

2006-01-23  Kazu Hirata  <kazu@codesourcery.com>

	PR testsuite/25590
	* gcc.dg/tree-ssa/gen-vect-11.c: Add -fwrapv.

Index: testsuite/gcc.dg/tree-ssa/gen-vect-11.c
===================================================================
--- testsuite/gcc.dg/tree-ssa/gen-vect-11.c	(revision 109753)
+++ testsuite/gcc.dg/tree-ssa/gen-vect-11.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-do run { target vect_cmdline_needed } } */
-/* { dg-options "-O2 -ftree-vectorize -ftree-vectorizer-verbose=3 -fdump-tree-vect-stats" } */
+/* { dg-options "-O2 -ftree-vectorize -ftree-vectorizer-verbose=3 -fwrapv -fdump-tree-vect-stats" } */
 
 #include <stdlib.h>
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]