[Patch, fortran] PR38907 - [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

Paul Richard Thomas paul.richard.thomas@gmail.com
Tue Jan 20 22:41:00 GMT 2009


New Revision: 143530

Thanks for the OK.

Paul

2009-01-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38907
        * resolve.c (check_host_association): Remove the matching to
        correct an incorrect host association and use manipulation of
        the expression instead.

2009-01-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38907
        * gfortran.dg/host_assoc_function_7.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/host_assoc_function_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog



More information about the Fortran mailing list