[Bug fortran/30476] [Regression 4.2, 4.3] Via other module imported generic interface rejected

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 17 18:33:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list