diff mbox

Fix PR testsuite/71237

Message ID 2721895.gzDgtrs6Yv@polaris
State New
Headers show

Commit Message

Eric Botcazou Dec. 20, 2016, 8:45 a.m. UTC
This adds -fno-vect-cost-model to the 6 relevant testcases.

Tested on x86_64-suse-linux, applied on the mainline.


2016-12-20  Eric Botcazou  <ebotcazou@adacore.com>

	PR testsuite/71237
	* gnat.dg/vect1.adb: Add -fno-vect-cost-model to dg-options.
	* gnat.dg/vect2.adb: Likewise.
	* gnat.dg/vect3.adb: Likewise.
	* gnat.dg/vect4.adb: Likewise.
	* gnat.dg/vect5.adb: Likewise.
	* gnat.dg/vect6.adb: Likewise.

-- 
Eric Botcazou
diff mbox

Patch

Index: gnat.dg/vect1.adb
===================================================================
--- gnat.dg/vect1.adb	(revision 243782)
+++ gnat.dg/vect1.adb	(working copy)
@@ -1,5 +1,5 @@ 
 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
--- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
+-- { dg-options "-O3 -msse2 -fno-vect-cost-model -fdump-tree-vect-details" }
 
 package body Vect1 is
 
Index: gnat.dg/vect2.adb
===================================================================
--- gnat.dg/vect2.adb	(revision 243782)
+++ gnat.dg/vect2.adb	(working copy)
@@ -1,5 +1,5 @@ 
 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
--- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
+-- { dg-options "-O3 -msse2 -fno-vect-cost-model -fdump-tree-vect-details" }
 
 package body Vect2 is
 
Index: gnat.dg/vect3.adb
===================================================================
--- gnat.dg/vect3.adb	(revision 243782)
+++ gnat.dg/vect3.adb	(working copy)
@@ -1,5 +1,5 @@ 
 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
--- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
+-- { dg-options "-O3 -msse2 -fno-vect-cost-model -fdump-tree-vect-details" }
 
 package body Vect3 is
 
Index: gnat.dg/vect4.adb
===================================================================
--- gnat.dg/vect4.adb	(revision 243782)
+++ gnat.dg/vect4.adb	(working copy)
@@ -1,5 +1,5 @@ 
 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
--- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
+-- { dg-options "-O3 -msse2 -fno-vect-cost-model -fdump-tree-vect-details" }
 
 package body Vect4 is
 
Index: gnat.dg/vect5.adb
===================================================================
--- gnat.dg/vect5.adb	(revision 243782)
+++ gnat.dg/vect5.adb	(working copy)
@@ -1,5 +1,5 @@ 
 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
--- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
+-- { dg-options "-O3 -msse2 -fno-vect-cost-model -fdump-tree-vect-details" }
 
 package body Vect5 is
 
Index: gnat.dg/vect6.adb
===================================================================
--- gnat.dg/vect6.adb	(revision 243782)
+++ gnat.dg/vect6.adb	(working copy)
@@ -1,5 +1,5 @@ 
 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
--- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
+-- { dg-options "-O3 -msse2 -fno-vect-cost-model -fdump-tree-vect-details" }
 
 package body Vect6 is