Fix PR85066 testcase for -mx32

Message ID alpine.LSU.2.20.1803261016580.18265@zhemvz.fhfr.qr
State New
Headers show
Series
  • Fix PR85066 testcase for -mx32
Related show

Commit Message

Richard Biener March 26, 2018, 8:17 a.m.
Committed.

Richard.

2018-03-26  Richard Biener  <rguenther@suse.de>

	PR testsuite/85066
	* gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c: Use long long
	instead of long.

Patch

Index: testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c
===================================================================
--- testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c	(revision 258800)
+++ testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c	(working copy)
@@ -1,10 +1,10 @@ 
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_long } */
+/* { dg-require-effective-target vect_long_long } */
 
 int N;
-long fn1(void) {
+long long fn1(void) {
   short i;
-  long a;
+  long long a;
   i = a = 0;
   while (i < N)
     a -= i++;