Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr70405.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* PR tree-optimization/70405 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2 -fcompare-debug" } */ | |
4 /* { dg-additional-options "-mavx512f" { target i?86-*-* x86_64-*-* } } */ | |
5 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */ | |
6 | |
7 typedef short V __attribute__ ((vector_size (32))); | |
8 | |
9 int | |
10 foo (V *p) | |
11 { | |
12 V v = *p; | |
13 v >>= v; | |
14 v -= v[0]; | |
15 return v[3]; | |
16 } |