[Bug fortran/54556] [4.8 Regression] Marking implicitly pure variables as DECL_PURE_P leads to wrong code
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 13 18:10:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54556
--- Comment #13 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-13 18:10:13 UTC ---
Author: burnus
Date: Thu Sep 13 18:10:04 2012
New Revision: 191275
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191275
Log:
2012-09-13 Tobias Burnus <burnus@net-b.de>
PR fortran/54556
* resolve.c (resolve_formal_arglist): Allow VALUE arguments
with implicit_pure.
(gfc_impure_variable): Don't check gfc_pure such that the
function also works for gfc_implicit_pure procedures.
2012-09-13 Tobias Burnus <burnus@net-b.de>
PR fortran/54556
* gfortran.dg/implicit_pure_3.f90: New.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/implicit_pure_3.f90
Modified:
branches/gcc-4_7-branch/gcc/fortran/ChangeLog
branches/gcc-4_7-branch/gcc/fortran/resolve.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list