diff options
| author | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-31 08:18:52 +0000 |
|---|---|---|
| committer | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-31 08:18:52 +0000 |
| commit | 682182040f501fe8f701e2887896ae8c00fe8a42 (patch) | |
| tree | 68b7fd1b2d1494a99a6c86ebfda5a6211ca412d7 /libjava/classpath/gnu/java | |
| parent | 7cb3b3c69a4699a357e0a06b0a120608413cec7d (diff) | |
| download | ppe42-gcc-682182040f501fe8f701e2887896ae8c00fe8a42.tar.gz ppe42-gcc-682182040f501fe8f701e2887896ae8c00fe8a42.zip | |
2011-12-31 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/51502
* expr.c (gfc_check_vardef_context): When determining
implicit pure status, also check for variable definition
context. Walk up namespaces until a procedure is
found to reset the implict pure attribute.
* resolve.c (gfc_implicit_pure): Walk up namespaces
until a procedure is found.
2011-12-31 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/51502
* lib/gcc-dg.exp (scan-module-absence): New function.
* gfortran.dg/implicit_pure_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182754 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions

