------- Additional Comments From dje at gcc dot gnu dot org 2005-06-28 14:16 ------- I do not understand the comment about GCC for AIX setting GXX_WEAK consistently. The value is set by GCC itself, not overridden by AIX.
GXX_WEAK is defined by c-cppbuiltin.c: if (flag_weak && SUPPORTS_ONE_ONLY) cpp_define (pfile, "__GXX_WEAK__=1"); else cpp_define (pfile, "__GXX_WEAK__=0"); and depends on SUPPORTS_ONE_ONLY, not just weak support. I will test if setting MAKE_DECL_ONE_ONLY works on AIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22205