[LLVMbugs] [Bug 1678] wrong weak alias optimization with llvm-gcc-4.2

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 3 00:26:04 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=1678


Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from Duncan Sands <baldrick at free.fr>  2008-09-03 02:26:03 ---
The #linkage section doesn't seem to exist; instead there is a
section on visibility styles that's not mentioned in the contents!

Anyway, I'm closing this bug because it has been fixed!  The
output is now:

@A = alias weak void ()* @B             ; <void ()*> [#uses=1]

define i32 @active() nounwind {
entry:
        ret i32 zext (i1 icmp ne (void ()* @A, void ()* null) to i32)
}

declare extern_weak void @B()


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



More information about the llvm-bugs mailing list