compiling at -O0 makes no difference (neither does -mmacosx-version-min=10.4, which should eliminate the Object1.h header from the enquiry).
=== most of the (usually) emitted code is missing; all that remains is: .lazy_reference .objc_class_name_NSConstantString .comm __NSConstantStringClassReference,4,2 .subsections_via_symbols === -- Summary: [4.6 Regression] const-str-9 fails. Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: iains at gcc dot gnu dot org GCC target triplet: i686-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44125