Debian Codegraph @

gcc/testsuite/g++.target/aarch64/sve/pr96974.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-Ofast -march=armv8.2-a+sve -fdisable-tree-fre4" } */
3
4 float a;
5 int
6 b ()
7 { return __builtin_lrintf(a); }
8
9 struct c {
10 float d;
11 c() {
12 for (int e = 0; e < 9; e++)
13 coeffs[e] = d ? b() : 0;
14 }
15 int coeffs[10];
16 } f;