blob: 8d74c227b812111c51d33f473117e8646db6bb39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v7em_hard_ok } */
/* { dg-skip-if "-mslow-flash-data and -mword-relocations incompatible" { *-*-* } { "-mword-relocations" } } */
/* { dg-options "-O2 -mslow-flash-data" } */
/* { dg-add-options arm_arch_v7em_hard } */
float f (float);
const float max = 0.01f;
int
g (float in)
{
if (f (in) + f (in) < max)
return 0;
return 1;
}
double foo (void)
{
return 0xF1EC7A5239123AF;
}
double bar (void)
{
return 0.0f;
}
|