[Bug c/31537] duplicate weakref emitted with IMA

geoffk at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 3 19:14:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list