g77 test 20030326-1.f fails with gfortran. See PR fortran/9793. Test is: C { dg-do compile } C PR fortran/9793 C larson@w6yx.stanford.edu C integer a, b, c c = -2147483648 / -1 a = 1 b = 0 c = a / b print *, c end Error is: In file /usr/local/src/gcc/gcc/testsuite/gfortran.dg/g77/20030326-1.f:7 c = -2147483648 / -1 1 Error: Arithmetic overflow at (1) compiler exited with status 1
*** This bug has been marked as a duplicate of 13490 ***