OSDN Git Service

* trans-types.h (gfc_add_field_to_struct): Add tree ** parameter.
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jul 2010 19:53:24 +0000 (19:53 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jul 2010 19:53:24 +0000 (19:53 +0000)
commit02e2a14b7f9b09d16b8eb503e1fead6eff0608ad
tree6f03ec4e9f3206b3a12d1205d91d3a68e28415f4
parentb749ba71e73e4264cb528d0cbd06194b508c168c
* trans-types.h (gfc_add_field_to_struct): Add tree ** parameter.
* trans-types.c (gfc_add_field_to_struct_1): New function, most
of which comes from...
(gfc_add_field_to_struct): ...here.  Call it.  Add new parameter.
(gfc_get_desc_dim_type): Call gfc_add_field_to_struct_1 for
building fields.
(gfc_get_array_descriptor_base): Likewise.
(gfc_get_mixed_entry_union): Likewise.
(gfc_get_derived_type): Add extra chain parameter for
gfc_add_field_to_struct.
* trans-stmt.c (gfc_trans_character_select): Likewise.
* trans-io.c (gfc_build_st_parameter): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161738 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-io.c
gcc/fortran/trans-stmt.c
gcc/fortran/trans-types.c
gcc/fortran/trans-types.h