2007-05-31 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 May 2007 21:14:52 +0000 (21:14 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 May 2007 21:14:52 +0000 (21:14 +0000)
commit57e3c8275cb3d3f659a6477914b0fba7f177f663
treeba6f9b09f627fba0cd7cb0cca6ba17e1db74915d
parent23124a6cfe497aef20b8d9d29f2edd692925a88c
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.

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