------- Comment #3 from iains at gcc dot gnu dot org 2010-05-19 23:17 -------
static const NSConstantString *appKey = @"MyApp";
is not being emitted because it's unused - this seems correct behavior to me.
solutions:
(a) make it
const NSConstantString *appKey = @"MyApp";
(b)
add :
void *foo (void)
{
return (void *) appKey ;
}
either proves that the correct assembler pattern is emitted for the
initializer.
Any preference Mike? (or I'll apply b after a few days...).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44125