2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr79239.c
blobd1f1b28510a64b1330f392f3b5330d98da91a789
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_fp_ok } */
3 /* { dg-add-options arm_fp } */
5 #pragma GCC push_options
6 #pragma GCC target "fpu=crypto-neon-fp-armv8"
7 int a, b;
8 extern __inline __attribute__((__gnu_inline__)) int fn1() {}
10 #pragma GCC pop_options
11 void
12 fn2() {
13 if (b * 0.77 + 0.5)
14 a = 0;