------- Comment #4 from geoffk at gcc dot gnu dot org 2007-05-03 20:14 ------- The following testcase should be equivalent to the original one but not involve IMA:
void f1() { static __gthrw_pthread_once __attribute__ ((__weakref__ ("pthread_once"))); } void f2() { static __gthrw_pthread_once __attribute__ ((__weakref__ ("pthread_once"))); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31537