diff options
author | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-02-20 09:42:48 +0000 |
---|---|---|
committer | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-02-20 09:42:48 +0000 |
commit | d8cc986ad109d50d4f89949f8aebb8f4b57d3d3d (patch) | |
tree | b5e680edda864662c08e9de5a6a1487bc94cf1d6 /gcc/fortran/ChangeLog | |
parent | 02b6d4df70b4003a8c24955270019d82988b0ee5 (diff) |
2017-02-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/79434
* parse.c (check_component, parse_union): Whitespace.
(set_syms_host_assoc): For a derived type, check if the module
in which it was declared is one of the submodule ancestors. If
it is, make the components public. Otherwise, reset attribute
'host_assoc' and set 'use-assoc' so that encapsulation is
preserved.
2017-02-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/79434
* gfortran.dg/submodule_25.f08 : New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245595 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/ChangeLog')
-rw-r--r-- | gcc/fortran/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index fb7123472d7..78d40afea29 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,13 @@ +2017-02-20 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/79434 + * parse.c (check_component, parse_union): Whitespace. + (set_syms_host_assoc): For a derived type, check if the module + in which it was declared is one of the submodule ancestors. If + it is, make the components public. Otherwise, reset attribute + 'host_assoc' and set 'use-assoc' so that encapsulation is + preserved. + 2017-02-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/79447 |