From: Martin Liska Date: Thu, 28 Jul 2016 08:31:54 +0000 (+0000) Subject: Add missing file. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bd6a6aebf1d2ef3c8199d2c9a263dd47054d14c;p=gcc.git Add missing file. From-SVN: r238810 --- diff --git a/gcc/testsuite/g++.dg/vect/pr70944.cc b/gcc/testsuite/g++.dg/vect/pr70944.cc new file mode 100644 index 00000000000..f8973aaff53 --- /dev/null +++ b/gcc/testsuite/g++.dg/vect/pr70944.cc @@ -0,0 +1,13 @@ +/* { dg-do compile { target x86_64-*-* } } */ +/* { dg-additional-options "-O3 -march=core-avx2" } */ + +unsigned *a; +void +fn1 () +{ + for (int i; i; ++i) + { + unsigned g (a[i] << 8 >> 24); + a[i] = g; + } +}