diff options
author | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-08 18:50:37 +0000 |
---|---|---|
committer | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-08 18:50:37 +0000 |
commit | 6b1a9af35550da2444e2ea9b38d19d12e6056e77 (patch) | |
tree | 90553c559dcb64a55bb7c9d376603bc3fc2c5234 /gcc/fortran/trans-array.h | |
parent | 01e196ce3d6e3498aa4c25825e8d3dd64af8d1e1 (diff) |
2009-06-08 Paul Thomas <pault@gcc.gnu.org>
* trans-array.h : Replace prototypes for
gfc_conv_descriptor_offset, gfc_conv_descriptor_stride,
gfc_conv_descriptor_lbound, gfc_conv_descriptor_ubound with new
prototypes of the same names with _get or _set appended.
* trans-array.c : Make the originals of the above static and
new functions for the _get and _set functions. Update all the
references to these descriptor access functions.
* trans-expr.c : Update references to the above descriptor
access functions.
* trans-intrinsic.c : The same.
* trans-openmp.c : The same.
* trans-stmt.c : The same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148290 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans-array.h')
-rw-r--r-- | gcc/fortran/trans-array.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gcc/fortran/trans-array.h b/gcc/fortran/trans-array.h index 3f8809d84c60..9b0b830d92e6 100644 --- a/gcc/fortran/trans-array.h +++ b/gcc/fortran/trans-array.h @@ -120,13 +120,18 @@ tree gfc_conv_array_ubound (tree, int); /* Build expressions for accessing components of an array descriptor. */ tree gfc_conv_descriptor_data_get (tree); -void gfc_conv_descriptor_data_set (stmtblock_t *, tree, tree); tree gfc_conv_descriptor_data_addr (tree); -tree gfc_conv_descriptor_offset (tree); +tree gfc_conv_descriptor_offset_get (tree); tree gfc_conv_descriptor_dtype (tree); -tree gfc_conv_descriptor_stride (tree, tree); -tree gfc_conv_descriptor_lbound (tree, tree); -tree gfc_conv_descriptor_ubound (tree, tree); +tree gfc_conv_descriptor_stride_get (tree, tree); +tree gfc_conv_descriptor_lbound_get (tree, tree); +tree gfc_conv_descriptor_ubound_get (tree, tree); + +void gfc_conv_descriptor_data_set (stmtblock_t *, tree, tree); +void gfc_conv_descriptor_offset_set (stmtblock_t *, tree, tree); +void gfc_conv_descriptor_stride_set (stmtblock_t *, tree, tree, tree); +void gfc_conv_descriptor_lbound_set (stmtblock_t *, tree, tree, tree); +void gfc_conv_descriptor_ubound_set (stmtblock_t *, tree, tree, tree); /* Add pre-loop scalarization code for intrinsic functions which require special handling. */ |