http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60543
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> --- Author: burnus Date: Thu Mar 20 19:42:15 2014 New Revision: 208733 URL: http://gcc.gnu.org/viewcvs?rev=208733&root=gcc&view=rev Log: 2014-03-20 Tobias Burnus <bur...@net-b.de> PR fortran/60543 PR fortran/60283 * gfortran.h (gfc_unset_implicit_pure): New prototype. * resolve.c (gfc_unset_implicit_pure): New. (resolve_structure_cons, resolve_function, pure_subroutine, resolve_ordinary_assign): Use it. * decl.c (match_old_style_init, gfc_match_data, match_pointer_init, variable_decl): Ditto. * expr.c (gfc_check_pointer_assign): Ditto. * intrinsic.c (gfc_intrinsic_sub_interface): Ditto. * io.c (match_vtag, gfc_match_open, gfc_match_close, match_filepos, gfc_match_inquire, gfc_match_print, gfc_match_wait, check_io_constraints): Ditto. * match.c (gfc_match_critical, gfc_match_stopcode, lock_unlock_statement, sync_statement, gfc_match_allocate, gfc_match_deallocate): Ditto. * parse.c (decode_omp_directive): Ditto. * symbol.c (gfc_add_save): Ditto. 2014-03-20 Tobias Burnus <bur...@net-b.de> PR fortran/60543 PR fortran/60283 * gfortran.dg/implicit_pure_4.f90: New. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/implicit_pure_4.f90 Modified: branches/gcc-4_7-branch/gcc/fortran/ChangeLog branches/gcc-4_7-branch/gcc/fortran/decl.c branches/gcc-4_7-branch/gcc/fortran/gfortran.h branches/gcc-4_7-branch/gcc/fortran/intrinsic.c branches/gcc-4_7-branch/gcc/fortran/io.c branches/gcc-4_7-branch/gcc/fortran/match.c branches/gcc-4_7-branch/gcc/fortran/parse.c branches/gcc-4_7-branch/gcc/fortran/resolve.c branches/gcc-4_7-branch/gcc/fortran/symbol.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog