Bug#799953: gcc-4.9: incorrect double to integer conversion on i386

2015-11-17 Thread Miroslav Urbanek
> What's the result type of float * int ? Definitively not double, but > float. (Just the intermediate result in the x87 fpu has extended > precision.) True, according to C11 standard, section 6.3.1.8, the result type of float * int is float. > So I don't think the compiler is wrong considering

Bug#799953: gcc-4.9: incorrect double to integer conversion on i386

2015-10-05 Thread Miroslav Urbanek
The plymouth glitch caused by this bug is #801080.

Bug#799953: gcc-4.9: incorrect double to integer conversion on i386

2015-09-24 Thread Miroslav Urbanek
Package: gcc Version: 4:5.2.1-4 Severity: normal Tags: upstream Hello, I believe I've found a bug in GCC that affects plymouth and maybe other packages on i386. The following minimal code produces an incorrect result. $ cat test.c #include #include void main(int argc, char **argv) {