re PR fortran/61950 (Many 64-bit fortran allocate tests FAIL)
2014-08-11 Richard Biener <rguenther@suse.de> PR fortran/61950 * trans-expr.c (gfc_conv_structure): Initialize _size with a value of proper type. From-SVN: r213809
This commit is contained in:
parent
6f853fd453
commit
5ff0f237a4
|
@ -1,3 +1,9 @@
|
|||
2014-08-11 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR fortran/61950
|
||||
* trans-expr.c (gfc_conv_structure): Initialize _size with
|
||||
a value of proper type.
|
||||
|
||||
2014-08-10 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
PR fortran/61999
|
||||
|
|
|
@ -6260,7 +6260,9 @@ gfc_conv_structure (gfc_se * se, gfc_expr * expr, int init)
|
|||
else if (cm->ts.u.derived && strcmp (cm->name, "_size") == 0)
|
||||
{
|
||||
val = TYPE_SIZE_UNIT (gfc_get_derived_type (cm->ts.u.derived));
|
||||
CONSTRUCTOR_APPEND_ELT (v, cm->backend_decl, val);
|
||||
CONSTRUCTOR_APPEND_ELT (v, cm->backend_decl,
|
||||
fold_convert (TREE_TYPE (cm->backend_decl),
|
||||
val));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue