Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/vect/pr78938.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR tree-optimization/78938 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-additional-options "-mavx512bw" { target i?86-*-* x86_64-*-* } } */ | |
4 | |
5 short int v; | |
6 | |
7 int | |
8 foo (char x, int *b) | |
9 { | |
10 int a = 1; | |
11 for (; x < 1; x++) | |
12 { | |
13 int c = *b != v; | |
14 int d = x != 0; | |
15 a = c == d ? 2 : 0; | |
16 } | |
17 return a; | |
18 } |