aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/lto/pr55113_0.c
blob: 8c309761bce09513dd4bce98dd56a69c99e51d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR 55113 */
/* { dg-lto-do link } */
/* { dg-lto-options { { -flto -fshort-double -O0 } } }*/
/* { dg-skip-if "PR60410" { x86_64-*-* || { i?86-*-* && lp64 } } } */
/* { dg-skip-if "PR60410" { i?86-*-solaris2.1[0-9]* } } */

int 
main(void)
{
  float a = 1.0;
  float b = 2.0;
  double f = a + b * 1e-12;
  return (int)f - 1;
}