This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] gcc.dg/tree-ssa/gen-vect-11.c: Add -fwrpav.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dorit at il dot ibm dot com, ebotcazou at libertysurf dot fr, paolo dot bonzini at lu dot unisi dot ch
- Date: Sun, 22 Jan 2006 18:53:59 -0800
- Subject: [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>