* trans-const.c (gfc_conv_constant_to_tree): Use correct tree
type for COMPLEX constants.
From-SVN: r95941
+2005-03-05 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * trans-const.c (gfc_conv_constant_to_tree): Use correct tree
+ type for COMPLEX constants.
+
2005-03-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/19673
tree imag = gfc_conv_mpfr_to_tree (expr->value.complex.i,
expr->ts.kind);
- return build_complex (NULL_TREE, real, imag);
+ return build_complex (gfc_typenode_for_spec (&expr->ts),
+ real, imag);
}
case BT_CHARACTER: