This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32600] [ISO Bind C] C_LOC/C_FUNLOC should not be library functions
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2007 06:03:44 -0000
- Subject: [Bug fortran/32600] [ISO Bind C] C_LOC/C_FUNLOC should not be library functions
- References: <bug-32600-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from burnus at gcc dot gnu dot org 2007-07-23 06:03 -------
Subject: Bug 32600
Author: burnus
Date: Mon Jul 23 06:03:33 2007
New Revision: 126835
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126835
Log:
2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
Tobias Burnus <burnus@net-b.de>
PR fortran/32600
* trans-expr.c (gfc_conv_function_call): Handle c_funloc.
* trans-types.c: Add pfunc_type_node.
(gfc_init_types,gfc_typenode_for_spec): Use it.
* resolve.c (gfc_iso_c_func_interface): Fix whitespace and
improve error message.
2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/32600
* intrinsics/iso_c_binding.c (c_funloc): Remove.
* intrinsics/iso_c_binding.h: Remove c_funloc.
* gfortran.map: Ditto.
2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/32600
* gfortran.dg/c_funloc_tests_5.f03: New.
* gfortran.dg/c_funloc_tests_5.f04: New.
* gfortran.dg/c_funloc_tests_4_driver.c: New.
Added:
trunk/gcc/testsuite/gfortran.dg/c_funloc_tests_4.f03
trunk/gcc/testsuite/gfortran.dg/c_funloc_tests_4_driver.c
trunk/gcc/testsuite/gfortran.dg/c_funloc_tests_5.f03
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/trans-expr.c
trunk/gcc/fortran/trans-types.c
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/gfortran.map
trunk/libgfortran/intrinsics/iso_c_binding.c
trunk/libgfortran/intrinsics/iso_c_binding.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32600