type for COMPLEX constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95941
138bc75d-0d04-0410-961f-
82ee72b054a4
+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: