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/53956] [F03] PROCEDURE w/ interface: Bogus "EXTERNAL attribute conflicts with FUNCTION attribute"


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

--- Comment #5 from janus at gcc dot gnu.org 2012-07-16 10:13:26 UTC ---
Author: janus
Date: Mon Jul 16 10:13:19 2012
New Revision: 189514

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189514
Log:
2012-07-16  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/53956
    * gfortran.h (gfc_copy_formal_args,gfc_copy_formal_args_ppc): Modified
    prototypes.
    * symbol.c (gfc_copy_formal_args): New argument 'if_src'. Copy if_source
    of dummy procedures.
    (gfc_copy_formal_args_ppc): Ditto.
    * resolve.c (resolve_procedure_interface): Pass IFSRC_DECL to
    gfc_copy_formal_args.
    (resolve_fl_derived0): Pass IFSRC_DECL to gfc_copy_formal_args_ppc.


2012-07-16  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/53956
    * gfortran.dg/proc_decl_28.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/proc_decl_28.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog


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