mirror of git://gcc.gnu.org/git/gcc.git
trans-array.c (gfc_conv_expr_descriptor): Use codim instead of loop.codimen as argument to gfc_get_array_type_bounds.
* trans-array.c (gfc_conv_expr_descriptor): Use codim instead of loop.codimen as argument to gfc_get_array_type_bounds. From-SVN: r179677
This commit is contained in:
parent
23c3d0f972
commit
a7525708c6
|
@ -1,3 +1,8 @@
|
||||||
|
2011-10-07 Mikael Morin <mikael.morin@sfr.fr>
|
||||||
|
|
||||||
|
* trans-array.c (gfc_conv_expr_descriptor): Use codim instead of
|
||||||
|
loop.codimen as argument to gfc_get_array_type_bounds.
|
||||||
|
|
||||||
2011-10-07 Mikael Morin <mikael.morin@sfr.fr>
|
2011-10-07 Mikael Morin <mikael.morin@sfr.fr>
|
||||||
|
|
||||||
* trans-array.h (struct gfc_se): New flag want_coarray.
|
* trans-array.h (struct gfc_se): New flag want_coarray.
|
||||||
|
|
|
@ -6008,9 +6008,8 @@ gfc_conv_expr_descriptor (gfc_se * se, gfc_expr * expr, gfc_ss * ss)
|
||||||
{
|
{
|
||||||
/* Otherwise make a new one. */
|
/* Otherwise make a new one. */
|
||||||
parmtype = gfc_get_element_type (TREE_TYPE (desc));
|
parmtype = gfc_get_element_type (TREE_TYPE (desc));
|
||||||
parmtype = gfc_get_array_type_bounds (parmtype, loop.dimen,
|
parmtype = gfc_get_array_type_bounds (parmtype, loop.dimen, codim,
|
||||||
loop.codimen, loop.from,
|
loop.from, loop.to, 0,
|
||||||
loop.to, 0,
|
|
||||||
GFC_ARRAY_UNKNOWN, false);
|
GFC_ARRAY_UNKNOWN, false);
|
||||||
parm = gfc_create_var (parmtype, "parm");
|
parm = gfc_create_var (parmtype, "parm");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue