On Darwin, we have 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: Revision 136903 Author: hubicka Date: Wed Jun 18 19:07:51 2008 UTC (2 months, 1 week ago) Log Message: * c-opts.c (c_common_post_options): PCH is not compatible with no-unit-at-a-time. * opts.c (handle_options): Enable unit-at-a-time at O0 along with -fno-toplevel-reorder by default now. * gcc.dg/weak/weak-2.c: We no longer complain about incompatibilty. * gcc.dg/weak/weak-3.c: We no longer complain about incompatibilty. * gcc.dg/weak/weak-4.c: We no longer complain about incompatibilty. * gcc.dg/weak/weak-5.c: We no longer complain about incompatibilty. * gcc.dg/weak/weak-6.c: Fix thinko in previous change. * gcc.dg/weak/weak-7.c: Likewise. -- Summary: [4.4 Regression]: FAIL: g++.dg/abi/key2.C Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: *-apple-darwin* GCC host triplet: *-apple-darwin* GCC target triplet: *-apple-darwin* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37241