summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/trans.h')
-rw-r--r--gcc/fortran/trans.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/gcc/fortran/trans.h b/gcc/fortran/trans.h
index f1b109a80e8..567e5a343f1 100644
--- a/gcc/fortran/trans.h
+++ b/gcc/fortran/trans.h
@@ -188,6 +188,17 @@ typedef struct gfc_ss_info
gfc_ss_type type;
gfc_expr *expr;
tree string_length;
+
+ union
+ {
+ /* If type is GFC_SS_SCALAR or GFC_SS_REFERENCE. */
+ struct
+ {
+ tree value;
+ }
+ scalar;
+ }
+ data;
}
gfc_ss_info;
@@ -208,13 +219,6 @@ typedef struct gfc_ss
union
{
- /* If type is GFC_SS_SCALAR or GFC_SS_REFERENCE. */
- struct
- {
- tree expr;
- }
- scalar;
-
/* GFC_SS_TEMP. */
struct
{