summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans.h
diff options
context:
space:
mode:
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-03 22:04:50 +0000
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-03 22:04:50 +0000
commit3d653dea0f9e13fd2484d3ee3135800c2c93a0eb (patch)
tree377c8552e9248eaa6500645e7b95fabb3ae3f542 /gcc/fortran/trans.h
parentbfa437805588fe031de39fef8eed00cc0a244a41 (diff)
downloadgcc-3d653dea0f9e13fd2484d3ee3135800c2c93a0eb.tar.gz
* trans.h (struct gfc_ss, struct gfc_ss_info): Move field
string_length from the former struct to the latter. * trans-array.c (gfc_get_temp_ss, gfc_trans_array_constructor, gfc_add_loop_ss_code, gfc_conv_ss_descriptor, gfc_conv_scalarized_array_ref, gfc_conv_resolve_dependencies, gfc_conv_loop_setup, gfc_conv_expr_descriptor): Update references to string_length and factor common reference chains where possible. * trans-const.c (gfc_conv_constant): Ditto. * trans-expr.c (gfc_conv_variable, gfc_conv_subref_array_arg, gfc_conv_expr): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180869 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans.h')
-rw-r--r--gcc/fortran/trans.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans.h b/gcc/fortran/trans.h
index 592236016e6..f1b109a80e8 100644
--- a/gcc/fortran/trans.h
+++ b/gcc/fortran/trans.h
@@ -187,6 +187,7 @@ typedef struct gfc_ss_info
{
gfc_ss_type type;
gfc_expr *expr;
+ tree string_length;
}
gfc_ss_info;
@@ -205,7 +206,6 @@ typedef struct gfc_ss
{
gfc_ss_info *info;
- tree string_length;
union
{
/* If type is GFC_SS_SCALAR or GFC_SS_REFERENCE. */