PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / pr55113_0.c
blob8c309761bce09513dd4bce98dd56a69c99e51d49
1 /* PR 55113 */
2 /* { dg-lto-do link } */
3 /* { dg-lto-options { { -flto -fshort-double -O0 } } }*/
4 /* { dg-skip-if "PR60410" { x86_64-*-* || { i?86-*-* && lp64 } } } */
5 /* { dg-skip-if "PR60410" { i?86-*-solaris2.1[0-9]* } } */
7 int
8 main(void)
10 float a = 1.0;
11 float b = 2.0;
12 double f = a + b * 1e-12;
13 return (int)f - 1;