]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-types.c
re PR fortran/40870 ([F03] include formal args in backend_decl of PPCs)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 18 Aug 2009 14:23:35 +0000 (16:23 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 18 Aug 2009 14:23:35 +0000 (16:23 +0200)
commit37513ce90a7fa5730028c01850bcd983995b7063
tree5f299580b33dab7565509be79483281c6771ddd2
parent776e7174167360fdf2ba990e7c7c22536fe9227a
re PR fortran/40870 ([F03] include formal args in backend_decl of PPCs)

2009-08-18  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40870
* trans-types.c (gfc_get_ppc_type): Include formal args in backend_decl
using the interface symbol. Character types are returned by reference.
(gfc_get_derived_type): Prevent infinite recursion loop
if a PPC has a derived-type formal arg.

2009-08-18  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40870
* gfortran.dg/proc_ptr_comp_13.f90: Extended.

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r150875
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_comp_13.f90