Bug#318959: gcc-4.0: compiles broken code

2005-07-19 Thread Matthias Klose
reassign 318959 libc6 thanks looks like this only happens, when lround from libm is used. Thorsten Jordan writes: > Package: gcc-4.0 > Version: 4.0.1-2 > Severity: grave > Justification: renders package unusable > > > gcc-4.0 generates code that gives false results for this > tiny program: > >

Bug#318959: gcc-4.0: compiles broken code

2005-07-18 Thread Thorsten Jordan
Package: gcc-4.0 Version: 4.0.1-2 Severity: grave Justification: renders package unusable gcc-4.0 generates code that gives false results for this tiny program: #include #include int main() { volatile double a = 1.04837e+06, b = 1.04866e+06; printf("%li %li\n", lround(a), lround(b)); return 0;