aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.apple/fenv-minmax-1.c
blob: 4385ae3ced6e278db95bc58849ebd63dc3eeb57c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* APPLE LOCAL file Radar 3943021 */
/* { dg-do compile { target powerpc-*-darwin* } } */
/* { dg-options "-ffast-math" } */
#pragma GCC fenv
float size[2], tex_size;
void
test_of_pragma_fenv ()
{
  size[0] = ((size[0]) < (tex_size) ? (size[0]) : (tex_size));
}