------- Comment #52 from dominiq at lps dot ens dot fr  2008-08-25 20:23 -------
While we are at the "weak" arcanes on Darwin, we have also the following since
at least revision 136913 (revision 136903 seems the most likely candidate, the
others being 136899, 136905, and 136912):

FAIL: g++.dg/abi/key2.C scan-assembler .globl __ZTI1f\\\\n\\t.weak_definition
__ZTI1f\\\\n\\t.section __DATA,__const_coal,coalesced

The corresponding part of the assembly code reads:

   42 -         .long   __ZN1f1hEv
   43 - .globl __ZTI1f
   44 :         .weak_definition __ZTI1f
   45 +         .align 2
   46 + __ZTI1f:

If one can shot two birds with one stone, this will be nice. Otherwise I'll
fill another PR.


-- 


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

Reply via email to