------- Comment #4 from fxcoudert at gcc dot gnu dot org 2006-07-02 21:17 ------- Subject: Bug 27965
Author: fxcoudert Date: Sun Jul 2 21:17:05 2006 New Revision: 115134 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115134 Log: PR fortran/28094 * trans-intrinsic.c (gfc_conv_intrinsic_mod): Support cases where there is no integer kind equal to the resulting real kind. * intrinsic.c (add_functions): MODULO is not allowed as an actual argument. * Makefile.am: Add _mod_r10.F90 and _mod_r16.F90. * Makefile.in: Regenerate. * generated/_mod_r10.F90: New file. * generated/_mod_r16.F90: New file. PR fortran/27965 * trans-array.c (gfc_conv_ss_startstride): Correct the runtime conditions for bounds-checking. Check for nonzero stride. Don't check the last dimension of assumed-size arrays. Fix the dimension displayed in the error message. PR fortran/26801 * trans-intrinsic.c (gfc_conv_associated): Use pre and post blocks of the scalarization expression. * gfortran.dg/associated_4.f90: New test. PR fortran/28081 * resolve.c (resolve_substring): Don't issue out-of-bounds error messages when the range has zero size. * gfortran.dg/substr_3.f: New test. * gfortran.dg/equiv_2.f90: Update expected error message. PR fortran/23862 * lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless -ffixed-form is explicitly specified. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/associated_4.f90 - copied unchanged from r114757, trunk/gcc/testsuite/gfortran.dg/associated_4.f90 branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/substr_3.f - copied unchanged from r114972, trunk/gcc/testsuite/gfortran.dg/substr_3.f branches/gcc-4_1-branch/libgfortran/generated/_mod_r10.F90 - copied unchanged from r114961, trunk/libgfortran/generated/_mod_r10.F90 branches/gcc-4_1-branch/libgfortran/generated/_mod_r16.F90 - copied unchanged from r114961, trunk/libgfortran/generated/_mod_r16.F90 Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/intrinsic.c branches/gcc-4_1-branch/gcc/fortran/lang-specs.h branches/gcc-4_1-branch/gcc/fortran/resolve.c branches/gcc-4_1-branch/gcc/fortran/trans-array.c branches/gcc-4_1-branch/gcc/fortran/trans-intrinsic.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/equiv_2.f90 branches/gcc-4_1-branch/libgfortran/ChangeLog branches/gcc-4_1-branch/libgfortran/Makefile.am branches/gcc-4_1-branch/libgfortran/Makefile.in -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27965