[PATCH] PR fortran/33229 -- Fix intrinsic subroutine as function call
Dominique Dhumieres
dominiq@lps.ens.fr
Sat Sep 6 18:24:00 GMT 2008
For the record, on i686-apple-darwin9 before the patch, I get:
[ibook-dhum] /Users/dominiq% gfc /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/size_kind.f90
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/size_kind.f90:22.18:
allocate(array(big_sz))
1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1). This check can be disabled with the option -fno-range-check
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/size_kind.f90:25.11:
end program
1
Internal Error at (1):
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/size_kind.f90:22.18:
allocate(array(big_sz))
1
Can't convert INTEGER(8) to INTEGER(4) at (1)
[ibook-dhum] /Users/dominiq% gfc -m64 /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/size_kind.f90
f951: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Dominique
More information about the Fortran
mailing list