------- 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