This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/27324] Initialized module equivalence member causes assembler error



------- Comment #1 from paul dot thomas at jet dot uk  2006-04-27 10:44 -------
This one is marvelous - it's one of Sherlock Holme's "three pipers".

If the initialization is removed, all works correctly.  If the module is
compiled separately and the object file linked with the main program, it works
correctly, as it stands.....

The root of the problem is in build_common_decl, where the backend_decl for the
equivalence union seems to get lost for some reason.  In consequence, two decls
get made, which possess ASSEMBLER_DECL_NAMEs. For some reason that I do not yet
see, it matters if they are initilized or not.  This latter is slightly
academic, in that the solution will be to get the existing backend_decl to
subsequent calls.

Paul


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27324


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]