[Bug fortran/54107] [4.8 Regression] [F03] Memory hog with abstract interface
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 8 15:14:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107
--- Comment #35 from Mikael Morin <mikael at gcc dot gnu.org> 2013-02-08 15:13:45 UTC ---
Author: mikael
Date: Fri Feb 8 15:13:32 2013
New Revision: 195890
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195890
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/recursive_interface_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-types.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list