This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/25901] [gfortran, 4.2.0 regression] overloaded function is rejected



------- Comment #2 from pault at gcc dot gnu dot org  2006-01-23 05:07 -------
Subject: Bug 25901

Author: pault
Date: Mon Jan 23 05:07:52 2006
New Revision: 110106

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110106
Log:
2005-01-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/25901
        * decl.c (get_proc_name): Replace subroutine and function
        attributes in "already defined" test by the formal arglist
        pointer being non-NULL.

        Fix regression in testing of admissability of attributes.
        * symbol.c (gfc_add_attribute): If the current_attr has
        non-zero intent, do not do the check for a dummy being
        used.
        * decl.c (attr_decl1): Add current_attr.intent as the
        third argument in the call to gfc_add_attribute.
        * gfortran.h: Add the third argument to the prototype
        for gfc_add_attribute.


2005-01-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/25901
        * gfortran.dg/internal references_2.f90: New test.

        Fix regression in testing of admissability of attributes.
        * gfortran.dg/intent_used_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/intent_used_1.f90
    trunk/gcc/testsuite/gfortran.dg/internal_references_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgomp/Makefile.in
    trunk/libgomp/aclocal.m4
    trunk/libgomp/testsuite/Makefile.in


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25901


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]