diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-25 07:16:49 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-25 07:16:49 +0000 |
commit | 3b2ef6864dbb5abe099620f432bb650e84617af3 (patch) | |
tree | cbdab4041baf268d78a8b620a21bed1417a811d7 /gcc/testsuite/gcc.target/i386/pr70596.c | |
parent | 523464ff57eea48adea62ae64f3dadc464250513 (diff) | |
download | gcc-3b2ef6864dbb5abe099620f432bb650e84617af3.tar.gz |
2016-04-25 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, using subversion 1.9
svn merge -r234651:235002 ^/trunk
}}
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@235404 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr70596.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr70596.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr70596.c b/gcc/testsuite/gcc.target/i386/pr70596.c new file mode 100644 index 00000000000..0c73e838be1 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr70596.c @@ -0,0 +1,13 @@ +/* PR rtl-optimization/70596 */ +/* { dg-do compile { target avx512f } } */ +/* { dg-options "-O2 -fno-dce -fschedule-insns -fno-tree-coalesce-vars -fno-tree-dce -fno-tree-fre -fno-tree-pre -fcompare-debug -mavx512f" } */ + +typedef char V __attribute__((vector_size (64))); + +int +foo (V u, V v) +{ + v /= u | 1; + v[18] = 1 | v[8]; + return v[1] + v[6] + v[0] + v[1] + v[18] + v[2] + v[7]; +} |