aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/analyzer/conditionals-pr111881.c
blob: ecf165feeec256c56ae689e067ae2a2bce0ff002 (plain)
1
2
3
4
5
6
7
8
/* Verify we don't ICE on certain float conditionals.  */

/* { dg-additional-options "-Ofast" } */

int test_pr111881 (float sf1)
{
  return sf1 <= 0 || sf1 >= 7 ? 0 : sf1;
}