This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32817] inline (pure) accessor functions
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 16:15:14 -0000
- Subject: [Bug fortran/32817] inline (pure) accessor functions
- References: <bug-32817-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2008-01-29 16:15 -------
(In reply to comment #2)
> Andrew, you mentioned the two-decl per function elsewhere as well. Where can
> one learn more about this? why do we have two decls at all? where do they come
> from, where do they go? How are they dealt with? I'm sort of lost there ...
You can start reading this thread:
http://gcc.gnu.org/ml/fortran/2007-08/msg00323.html, especially the message
from Michael Matz and especially the paragraphs starting from "That's because
the fortran frontend generates a
new FUNCTION_DECL for each get_extern_function_decl call..."
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32817