* trans-const.c (gfc_conv_constant_to_tree): Give logical
constants the correct type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94054
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-01-22 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/19543
+ * trans-const.c (gfc_conv_constant_to_tree): Give logical
+ constants the correct type.
+
2005-01-18 Kazu Hirata <kazu@cs.umass.edu>
* arith.c, array.c, check.c, decl.c, expr.c, f95-lang.c,
return gfc_conv_mpfr_to_tree (expr->value.real, expr->ts.kind);
case BT_LOGICAL:
- return build_int_cst (NULL_TREE, expr->value.logical);
+ return build_int_cst (gfc_get_logical_type (expr->ts.kind),
+ expr->value.logical);
case BT_COMPLEX:
{