Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr91181.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-Ofast" } */ /* { dg-additional-options "-mavx" { target x86_64-*-* i?86-*-* } } */ enum { a, b, c }; float *d, *e; int f, g, h, i; int j() { float a; for (; h; h++) { i = h * 4; a = d[i + b]; if (a) { e[i + b] = g < d[i + b] * f * a ? g : d[i + b] * f * a; e[i + c] = g < d[i + c] * f * a ? g : d[i + c] * f * a; } e[i + b] = e[i + c]; } }