aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-07-04 10:44:40 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-07-04 10:44:40 +0200
commitf111f4340f58c01a2cf869084e47344da8fb81e1 (patch)
tree7fa1e77125524d7c7aea75f398adab7b761524e2 /gcc
parent88f4e7668cc3c73302cc81c15037a2d75d1e8327 (diff)
downloadgcc-f111f4340f58c01a2cf869084e47344da8fb81e1.zip
gcc-f111f4340f58c01a2cf869084e47344da8fb81e1.tar.gz
gcc-f111f4340f58c01a2cf869084e47344da8fb81e1.tar.bz2
re PR target/81175 (EXC_BAD_ACCESS in ::slpeel_duplicate_current_defs_from_edges(edge, edge, edge, edge) at is-a.h:192)
PR target/81175 * gcc.target/i386/pr69255-2.c (foo): Use the return value of the gather. From-SVN: r249951
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/i386/pr69255-2.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c52ad00..1105733 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2017-07-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/81175
+ * gcc.target/i386/pr69255-2.c (foo): Use the return value of the
+ gather.
+
2017-07-04 Martin Liska <mliska@suse.cz>
PR ipa/81214
diff --git a/gcc/testsuite/gcc.target/i386/pr69255-2.c b/gcc/testsuite/gcc.target/i386/pr69255-2.c
index ebe6828..af3be6c 100644
--- a/gcc/testsuite/gcc.target/i386/pr69255-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr69255-2.c
@@ -12,7 +12,8 @@ __attribute__ ((__vector_size__ (16))) int b;
void
foo (const long long *p)
{
- __builtin_ia32_gather3siv4di (a, p, b, 1, 1); /* { dg-error "needs isa option -m32 -mavx512vl" } */
+ volatile __attribute__ ((__vector_size__ (32))) long long c;
+ c = __builtin_ia32_gather3siv4di (a, p, b, 1, 1); /* { dg-error "needs isa option -m32 -mavx512vl" } */
/* { dg-warning "AVX vector return without AVX enabled changes the ABI" "" { target *-*-* } .-1 } */
/* { dg-warning "AVX vector argument without AVX enabled changes the ABI" "" { target *-*-* } .-2 } */
}