]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/interface.c
re PR fortran/38220 (C_LOC intrinsic non-pure and without explicit interface)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 6 Jan 2009 23:03:18 +0000 (23:03 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 6 Jan 2009 23:03:18 +0000 (23:03 +0000)
commita9c5fe7e7219e1ec949e8c1b29ec7fc2e8bfd6cb
treed4c0900d662b965e1973a1c7b20c1b0d51692563
parentc10bf728da5d8039b517c9e91086c9f93a31a4e1
re PR fortran/38220 (C_LOC intrinsic non-pure and without explicit interface)

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.

From-SVN: r143140
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]
This page took 0.169427 seconds and 5 git commands to generate.