Debian Codegraph @

gcc/testsuite/gcc.target/arm/pr79239.c

raw
1 /* { dg-do compile } */
2 /* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
3 /* { dg-require-effective-target arm_fp_ok } */
4 /* { dg-add-options arm_fp } */
5
6 #pragma GCC push_options
7 #pragma GCC target "fpu=crypto-neon-fp-armv8"
8 int a, b;
9 extern __inline __attribute__((__gnu_inline__)) int fn1() {}
10
11 #pragma GCC pop_options
12 void
13 fn2() {
14 if (b * 0.77 + 0.5)
15 a = 0;
16 }