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/50547] dummy procedure argument of PURE shall be PURE


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

--- Comment #4 from janus at gcc dot gnu.org 2011-09-29 11:57:40 UTC ---
Author: janus
Date: Thu Sep 29 11:57:35 2011
New Revision: 179345

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179345
Log:
2011-09-29  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/50547
    * resolve.c (resolve_formal_arglist): Fix pureness check for dummy
    functions.

    PR fortran/50553
    * symbol.c (check_conflict): Forbid TARGET attribute for statement
    functions.


2011-09-29  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/50547
    * gfortran.dg/pure_formal_proc_3.f90: New.

    PR fortran/50553
    * gfortran.dg/stfunc_7.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/pure_formal_proc_3.f90
    trunk/gcc/testsuite/gfortran.dg/stfunc_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    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]