diff options
author | janus <janus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-28 11:40:42 +0000 |
---|---|---|
committer | janus <janus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-28 11:40:42 +0000 |
commit | d2cae58555cc88200c5bd99224c2e27b4ef02c17 (patch) | |
tree | a64d75059b47169b8c14a640ceefd56afcf23667 /gcc/fortran/ChangeLog | |
parent | c3366e6091d5de469dbf2ae4041b3f54c14f9e38 (diff) | |
download | gcc-d2cae58555cc88200c5bd99224c2e27b4ef02c17.tar.gz |
2009-07-28 Janus Weil <janus@gcc.gnu.org>
PR fortran/40882
* trans-types.c (gfc_get_ppc_type): For derived types, directly use the
backend_decl, instead of calling gfc_typenode_for_spec, to avoid
infinte loop.
(gfc_get_derived_type): Correctly handle PPCs returning derived types,
avoiding infinite recursion.
2009-07-28 Janus Weil <janus@gcc.gnu.org>
PR fortran/40882
* gfortran.dg/proc_ptr_comp_13.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150154 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/ChangeLog')
-rw-r--r-- | gcc/fortran/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7b6d59e0351..ea622e565bf 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,12 @@ +2009-07-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40882 + * trans-types.c (gfc_get_ppc_type): For derived types, directly use the + backend_decl, instead of calling gfc_typenode_for_spec, to avoid + infinte loop. + (gfc_get_derived_type): Correctly handle PPCs returning derived types, + avoiding infinite recursion. + 2009-07-27 Janus Weil <janus@gcc.gnu.org> PR fortran/40848 |