aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2018-03-26 08:18:43 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2018-03-26 08:18:43 +0000
commitc2f3aac4541abf92c5a3554f77c58dcb5e68413d (patch)
treea1aac0044e13e55b85e78dfd61365aa61b70c2ff /gcc
parenta48718a2f61f10c0531daa0ef73531174144a14b (diff)
downloadgcc-c2f3aac4541abf92c5a3554f77c58dcb5e68413d.zip
gcc-c2f3aac4541abf92c5a3554f77c58dcb5e68413d.tar.gz
gcc-c2f3aac4541abf92c5a3554f77c58dcb5e68413d.tar.bz2
re PR tree-optimization/85066 (FAIL: gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c scan-tree-dump vect "vectorized 1 loops")
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. From-SVN: r258851
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4b7fc36..fd7345b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2018-03-26 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66709
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c
index b6dc385..af86841 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c
@@ -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++;