Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/lto/pr56168_0.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-lto-do run } */ /* { dg-lto-options { { -flto -O -ffast-math -fno-builtin } } } */ extern double pow(double, double); extern void abort (void); volatile double x = 1.0; int main(int argc, char **argv) { double d1 = x; double d2 = pow(d1, 1.0 / 3.0); double d3 = d1 * d1; if (d3 != 1.0 || d2 != 0.0) abort (); return 0; }