re PR fortran/50547 (dummy procedure argument of PURE shall be PURE)
commit4056cc1ba5e5590529b257a12f80270d552019b9
authorJanus Weil <janus@gcc.gnu.org>
Thu, 29 Sep 2011 11:57:35 +0000 (29 13:57 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 29 Sep 2011 11:57:35 +0000 (29 13:57 +0200)
tree6eb80c27b0e8d8f204611e0d47e28d64aefa066d
parent6c7dfafee68e3c18aa6c0f7c42e3f86bce196d7e
re PR fortran/50547 (dummy procedure argument of PURE shall be PURE)

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.

From-SVN: r179345
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pure_formal_proc_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/stfunc_7.f90 [new file with mode: 0644]