This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29744] [Regression] Type renaming crashes gfortran with excessive memory usage
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2006 21:26:24 -0000
- Subject: [Bug fortran/29744] [Regression] Type renaming crashes gfortran with excessive memory usage
- References: <bug-29744-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pault at gcc dot gnu dot org 2006-11-09 21:26 -------
Subject: Bug 29744
Author: pault
Date: Thu Nov 9 21:26:14 2006
New Revision: 118629
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118629
Log:
2006-11-09 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29744
* trans-types.c (gfc_get_derived_type): Ensure that the
proc_name namespace is not the same as the owner namespace and
that identical derived types in the same namespace share the
same backend_decl.
2006-11-09 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29744
* gfortran.dg/used_types_12.f90: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/used_types_12.f90
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/trans-types.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29744