PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70405.c
blob25e057648a6bc75da99935d023c08cef3adf625b
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* } } */
7 typedef short V __attribute__ ((vector_size (32)));
9 int
10 foo (V *p)
12 V v = *p;
13 v >>= v;
14 v -= v[0];
15 return v[3];