This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30476] [Regression 4.2, 4.3] Via other module imported generic interface rejected
- 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: 17 Jan 2007 18:33:47 -0000
- Subject: [Bug fortran/30476] [Regression 4.2, 4.3] Via other module imported generic interface rejected
- References: <bug-30476-13404@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 2007-01-17 18:33 -------
Subject: Bug 30476
Author: pault
Date: Wed Jan 17 18:33:35 2007
New Revision: 120864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120864
Log:
2007-01-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30476
* module.c (load_generic_interfaces): Make the marking of the
symbol as ambiguous conditional on the module names being
different.
(write_generic): Ensure that the generic interface has a
non-NULL module field.
2007-01-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30476
* gfortran.dg/generic_12.f90: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/generic_12.f90
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/module.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30476