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] Fix PR85066 testcase for -mx32


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.

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++;


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