OSDN Git Service

2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jan 2009 23:03:18 +0000 (23:03 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jan 2009 23:03:18 +0000 (23:03 +0000)
commitf23a14d4907f558d8f2a68298200cc4659ec0c23
treed4c0900d662b965e1973a1c7b20c1b0d51692563
parent343e78c6c5fc8249964e03fc541bced6d6db3457
2009-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/38220
* interface.c (gfc_procedure_use):  Don't warn about functions
from ISO_C_BINDING.
* symbol.c (generate_isocbinding_symbol):  Mark c_loc and
c_funloc as pure.

2009-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/38220
* gfortran.dg/c_loc_pure_1.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143140 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_loc_pure_1.f90 [new file with mode: 0644]