PR fortran/47552
* trans-intrinsic.c (gfc_conv_intrinsic_ctime): Fix type of
the string length variable.
From-SVN: r170898
+2011-03-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/47552
+ * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Fix type of
+ the string length variable.
+
2011-03-11 Janus Weil <janus@gcc.gnu.org>
PR fortran/47768
args = XALLOCAVEC (tree, num_args);
var = gfc_create_var (pchar_type_node, "pstr");
- len = gfc_create_var (gfc_get_int_type (8), "len");
+ len = gfc_create_var (gfc_charlen_type_node, "len");
gfc_conv_intrinsic_function_args (se, expr, &args[2], num_args - 2);
args[0] = gfc_build_addr_expr (NULL_TREE, var);