Patchwork Fix vrp17.c FAIL

login
register
mail settings
Submitter Richard Guenther
Date Feb. 11, 2013, 3:06 p.m.
Message ID <alpine.LNX.2.00.1302111605390.21892@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/219619/
State New
Headers show

Comments

Richard Guenther - Feb. 11, 2013, 3:06 p.m.
We now optimize it better via tail-merging & reassoc before VRP2
can transform the 2nd test to !=.  The following restores the
input to VRP to match the original testcase expectations.

Committed.

Richard.

2013-02-11  Richard Biener  <rguenther@suse.de>

	* gcc.dg/tree-ssa/vrp17.c: Disable tail-merging.

Patch

Index: gcc/testsuite/gcc.dg/tree-ssa/vrp17.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-ssa/vrp17.c	(revision 195940)
+++ gcc/testsuite/gcc.dg/tree-ssa/vrp17.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-vrp2" } */
+/* { dg-options "-O2 -fno-tree-tail-merge -fdump-tree-vrp2" } */
 
 extern void abort (void) __attribute__ ((__noreturn__));
 union tree_node;