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 c++/23345] Assembler message: symbol is already defined


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-12 22:00 -------
(In reply to comment #5)
> Okay then, but would adding __attribute__((visibility("hidden"))) to the game
> prevent the function from being cloned?  It doesn't seem to help!  I don't see
> any reason why the ABI calls for a clone of that function if its visibility is
> declared hidden.

Because constructors are cloned as needed by the IA64 C++ ABI.

visibility hidden only goes across shared library boundaries and not function boundaries.


When more optimizations are added to gcc, you will end up the same thing on any and all targets.

-- 


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


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