re PR fortran/30476 ([Regression 4.2, 4.3] Via other module imported generic interfac...
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 17 Jan 2007 17:33:35 +0000 (17:33 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 17 Jan 2007 17:33:35 +0000 (17:33 +0000)
commit9dd8004e9108e08d45b25781bc6d44a624f690b8
tree645ca4be34c9123444441514fc00fbc40f0f5d07
parent8086b65daacc347fcbb79f4f3e4312b18a3accfe
re PR fortran/30476 ([Regression 4.2, 4.3] Via other module imported generic interface rejected)

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.

From-SVN: r120860
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_12.f90 [new file with mode: 0644]