http://llvm.org/bugs/show_bug.cgi?id=6473
Rafael Ávila de Espíndola <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #10 from Rafael Ávila de Espíndola <[email protected]> 2010-03-04 13:51:04 CST --- We are still missing static variables that use a weakref :-( in ---------------------- extern void foo (void); static void bar (void) __attribute__ ((__weakref__("foo"))); static void *const zed = (void *) &bar; int f1(void) { return zed != 0; } int f2(void) { return bar != 0; } --------------------- We correctly avoid producing a undef for bar when compiling f2, but zed is compiled as: @zed = internal constant i8* bitcast (void ()* @bar to i8*), align 8 -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
