------- Comment #3 from mikael at gcc dot gnu dot org 2010-09-07 16:05 ------- Subject: Bug 45564
Author: mikael Date: Tue Sep 7 16:04:55 2010 New Revision: 163958 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163958 Log: 2010-09-07 Mikael Morin <mik...@gcc.gnu.org> * trans-stmt.c (gfc_trans_character_select): Be conversion-safe while checking string length value. * trans-intrinsic.c (gfc_conv_intrinsic_char): Build integer using gfc_charlen_type_node type. PR fortran/45564 * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Convert string length to gfc_charlen_type_node. 2010-09-07 Mikael Morin <mik...@gcc.gnu.org> * gfortran.dg/achar_4.f90: Enable bounds checking. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-intrinsic.c trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/achar_4.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45564