This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR85066 testcase for -mx32
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Mar 2018 10:17:17 +0200 (CEST)
- Subject: [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++;