This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38220] C_LOC intrinsic non-pure and without explicit interface
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2008 20:49:45 -0000
- Subject: [Bug fortran/38220] C_LOC intrinsic non-pure and without explicit interface
- References: <bug-38220-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dfranke at gcc dot gnu dot org 2008-12-09 20:49 -------
symbol.c (generate_isocbinding_symbol):
....
4139 /* Here, we're taking the simple approach. We're defining
4140 c_loc as an external identifier so the compiler will put
4141 what we expect on the stack for the address we want the
4142 C address of. */
....
4170 tmp_sym->attr.external = 1;
4171 tmp_sym->attr.if_source = IFSRC_UNKNOWN;
....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220