☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
backendfloatoptim.d
☽
☼
gcc/testsuite/gdc.test/compilable/backendfloatoptim.d
code
plain
raw
1
// REQUIRED_ARGS: -O -inline
2
3
//https://issues.dlang.org/show_bug.cgi?id=20143
4
real fun(int x) { return 0.0; }
5
6
double bug()
7
{
8
// value passed to fun is irrelevant
9
return 0.0 / fun(420);
10
}