PR fortran/13415
commit1e61e8f00147221ae46ecfb14cb3a79cfc1defa2
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Jul 2004 02:46:54 +0000 (10 02:46 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Jul 2004 02:46:54 +0000 (10 02:46 +0000)
treee756fdfff64bd3ba23400ab30a45d743c4f0de8b
parenta8e3c1b38a40b2b286503e2dd833c79cf9b11e64
PR fortran/13415
* trans-common.c (calculate_length): Remove ...
(get_segment_info): Merge into here.  Save field type.
(build_field): Use saved type.
(create_common, new_condition, new_segment, finish_equivalences):
Use new get_segment_info.
* trans-types.c: Update comment.
testsuite
* gfortran.dg/common_pointer_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84439 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-common.c
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/common_pointer_1.f90 [new file with mode: 0644]