]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/54107 ([F03] Memory hog with abstract interface)
authorMikael Morin <mikael@gcc.gnu.org>
Fri, 8 Feb 2013 15:13:32 +0000 (15:13 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 8 Feb 2013 15:13:32 +0000 (15:13 +0000)
commit3434c119a309db4ff991d50b6ebe25a017b58cd7
tree396927675c70a031f01648aeeee123668f8c7712
parent600a5961b24faccf68ef5287fb3a6ed3c6b79224
re PR fortran/54107 ([F03] Memory hog with abstract interface)

fortran/
PR fortran/54107
* trans-types.c (gfc_get_function_type): Change a NULL backend_decl
to error_mark_node on entry.  Detect recursive types.  Build a variadic
procedure type if the type is recursive.  Restore the initial
backend_decl.

testsuite/
PR fortran/54107
* gfortran.dg/recursive_interface_2.f90: New test.

From-SVN: r195890
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/recursive_interface_2.f90 [new file with mode: 0644]
This page took 0.060936 seconds and 5 git commands to generate.