]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-types.c
trans-expr.c (gfc_conv_expr_op): Use zero constant that matches the lse type.
authorRichard Guenther <rguenther@suse.de>
Thu, 31 May 2007 21:14:52 +0000 (21:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 31 May 2007 21:14:52 +0000 (21:14 +0000)
commitac816b0280b8344aef4955f1cea092f6b2401edd
treeba6f9b09f627fba0cd7cb0cca6ba17e1db74915d
parentac5753b796593af16f52cdab931d1768875e5ea8
trans-expr.c (gfc_conv_expr_op): Use zero constant that matches the lse type.

2007-05-31  Richard Guenther  <rguenther@suse.de>

* trans-expr.c (gfc_conv_expr_op): Use zero constant
that matches the lse type.
(gfc_trans_string_copy): Use sizetype zero constant.
* intrinsic.c (add_functions): The sizeof intrinsic has
index type result.
* trans-types.c (gfc_get_dtype): Convert size to index
type before shifting.
* trans-array.c (gfc_trans_array_constructor_value): Use
index type for offset computation.
* trans-intrinsic.c (gfc_conv_associated): Use correct type
for zero constant.

From-SVN: r125242
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.c
gcc/fortran/trans-array.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans-types.c