aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Pettersson <mikpe@it.uu.se>2010-06-16 13:04:08 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2010-06-16 11:04:08 +0000
commit584bd1cfca25313643c5295908f248c2460022d5 (patch)
tree799b34066d321dd423b37c07ad2e74ad21210a87
parente7bfcf355e3b17bf65c0a5f8d9197f3ea6febbc9 (diff)
downloadgcc-584bd1cfca25313643c5295908f248c2460022d5.zip
gcc-584bd1cfca25313643c5295908f248c2460022d5.tar.gz
gcc-584bd1cfca25313643c5295908f248c2460022d5.tar.bz2
re PR testsuite/44538 (PR43949 fix caused gcc.dg/vect/slp-perm-{5,6}.c to fail)
2010-06-16 Mikael Pettersson <mikpe@it.uu.se> PR testsuite/44538 * gcc.dg/vect/slp-perm-5.c (main): Prevent initialization loop from being vectorized. * gcc.dg/vect/slp-perm-6.c (main): Likewise. From-SVN: r160827
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/vect/slp-perm-5.c3
-rw-r--r--gcc/testsuite/gcc.dg/vect/slp-perm-6.c3
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 01e43d3..125d566 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-16 Mikael Pettersson <mikpe@it.uu.se>
+
+ PR testsuite/44538
+ * gcc.dg/vect/slp-perm-5.c (main): Prevent
+ initialization loop from being vectorized.
+ * gcc.dg/vect/slp-perm-6.c (main): Likewise.
+
2010-06-16 Alan Modra <amodra@gmail.com>
PR tree-optimization/44507
diff --git a/gcc/testsuite/gcc.dg/vect/slp-perm-5.c b/gcc/testsuite/gcc.dg/vect/slp-perm-5.c
index e7c9f7f..4e0c145 100644
--- a/gcc/testsuite/gcc.dg/vect/slp-perm-5.c
+++ b/gcc/testsuite/gcc.dg/vect/slp-perm-5.c
@@ -61,8 +61,7 @@ int main (int argc, const char* argv[])
input2[i] = i%256;
output[i] = 0;
output2[i] = 0;
- if (input[i] > 256)
- abort ();
+ __asm__ volatile ("");
}
foo (input, output, input2, output2);
diff --git a/gcc/testsuite/gcc.dg/vect/slp-perm-6.c b/gcc/testsuite/gcc.dg/vect/slp-perm-6.c
index 430415c..27e6036 100644
--- a/gcc/testsuite/gcc.dg/vect/slp-perm-6.c
+++ b/gcc/testsuite/gcc.dg/vect/slp-perm-6.c
@@ -60,8 +60,7 @@ int main (int argc, const char* argv[])
input2[i] = i%256;
output[i] = 0;
output2[i] = 0;
- if (input[i] > 256)
- abort ();
+ __asm__ volatile ("");
}
foo (input, output, input2, output2);