Package: gfortran-4.9 Version: 4:4.9.1-1 Severity: important gfortran miscompiles int() for negative overflows leading to a build timeout of python-scipy, see #756905 below a testcase, according to https://gcc.gnu.org/onlinedocs/gfortran/INT.html the result should be -2147483648
(sid_mips-dchroot)jtaylor@gabrielli:~$ apt-cache policy gfortran gfortran: Installed: 4:4.9.1-1 Candidate: 4:4.9.1-1 Version table: *** 4:4.9.1-1 0 500 http://mirror-ubc.debian.org/debian/ sid/main mips Packages 100 /var/lib/dpkg/status (sid_mips-dchroot)jtaylor@gabrielli:~$ cat test.f90 program add implicit none real a,b,s read *, a print *, ' is ' , int(a) stop end (sid_mips-dchroot)jtaylor@gabrielli:~$ gfortran test.f90 (sid_mips-dchroot)jtaylor@gabrielli:~$ ./a.out -1e99 is 2147483647 Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG IEEE_OVERFLOW_FLAG -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53e527a3.9080...@googlemail.com