diff options
author | Martin Liska <marxin@gcc.gnu.org> | 2016-07-28 08:31:54 +0000 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-07-28 08:31:54 +0000 |
commit | 9bd6a6aebf1d2ef3c8199d2c9a263dd47054d14c (patch) | |
tree | 659d64612157367891d3939945feb51cd3995adc | |
parent | ce84ada3584899887a0ba49f9184f3978d13e8e3 (diff) | |
download | gcc-9bd6a6aebf1d2ef3c8199d2c9a263dd47054d14c.zip gcc-9bd6a6aebf1d2ef3c8199d2c9a263dd47054d14c.tar.gz gcc-9bd6a6aebf1d2ef3c8199d2c9a263dd47054d14c.tar.bz2 |
Add missing file.
From-SVN: r238810
-rw-r--r-- | gcc/testsuite/g++.dg/vect/pr70944.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/vect/pr70944.cc b/gcc/testsuite/g++.dg/vect/pr70944.cc new file mode 100644 index 0000000..f8973aa --- /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; + } +} |