summaryrefslogtreecommitdiff
path: root/gcc/fortran/array.c
diff options
context:
space:
mode:
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-02 18:30:02 +0000
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-02 18:30:02 +0000
commit0ffcfdf9e0972c63d0e1c8445af6489827e7c8e0 (patch)
treef10adb4ae49ac21653756591623e2d9073bbf81f /gcc/fortran/array.c
parentf8bfd7f74a9ade93babb76eb86ead5b9e9ffe91e (diff)
* array.c (gfc_copy_array_ref): Don't copy the offset field.
* expr.c (find_array_section): Ignore the offset field. * trans-expr.c (gfc_find_interface_mapping_to_ref): Don't apply any interface mapping to the offset field. * gfortran.h (struct gfc_array_ref): Remove the offset field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190092 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/array.c')
-rw-r--r--gcc/fortran/array.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c
index 76bd5c3d63dd..f23d0bc7888c 100644
--- a/gcc/fortran/array.c
+++ b/gcc/fortran/array.c
@@ -50,8 +50,6 @@ gfc_copy_array_ref (gfc_array_ref *src)
dest->stride[i] = gfc_copy_expr (src->stride[i]);
}
- dest->offset = gfc_copy_expr (src->offset);
-
return dest;
}