------- Comment #3 from dominiq at lps dot ens dot fr 2010-08-20 15:24 -------
With the patch in comment #2, some error messages are repeated several times:
for instance gcc/testsuite/gfortran.dg/arithmetic_overflow_1.f90 gives
/opt/gcc/work/gcc/testsuite/gfortran.dg/arithmetic_overflow_1.f90:8.26:
integer(1) :: a(2) = (/ Z'FF', Z'FF' /) ! { dg-error "Arithmetic overflow" }
1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(1) at (1). This
check can be disabled with the option -fno-range-check
/opt/gcc/work/gcc/testsuite/gfortran.dg/arithmetic_overflow_1.f90:8.26:
integer(1) :: a(2) = (/ Z'FF', Z'FF' /) ! { dg-error "Arithmetic overflow" }
1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(1) at (1). This
check can be disabled with the option -fno-range-check
/opt/gcc/work/gcc/testsuite/gfortran.dg/arithmetic_overflow_1.f90:8.33:
integer(1) :: a(2) = (/ Z'FF', Z'FF' /) ! { dg-error "Arithmetic overflow" }
1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(1) at (1). This
check can be disabled with the option -fno-range-check
/opt/gcc/work/gcc/testsuite/gfortran.dg/arithmetic_overflow_1.f90:8.26:
integer(1) :: a(2) = (/ Z'FF', Z'FF' /) ! { dg-error "Arithmetic overflow" }
1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(1) at (1). This
check can be disabled with the option -fno-range-check
instead of
/opt/gcc/work/gcc/testsuite/gfortran.dg/arithmetic_overflow_1.f90:8.26:
integer(1) :: a(2) = (/ Z'FF', Z'FF' /) ! { dg-error "Arithmetic overflow" }
1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(1) at (1). This
check can be disabled with the option -fno-range-check
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45305