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

            Bug ID: 20617
           Summary: Invalid result with comdats
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: ASSIGNED
          Severity: normal
          Priority: P
         Component: Linker
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Given

$c1 = comdat any
@v1 = weak_odr global i32 42, comdat $c1
@v2 = weak_odr alias i32* @v1

and

$c2 = comdat any

@v1 = weak_odr global i32 41, comdat $c2
@v3 = weak_odr alias i32* @v1

The resulting module must have a v2 with a value of 42 and a v3 with a value of
41, but we produce

$c2 = comdat any
@v1 = weak_odr global i32 41, comdat $c2
@v2 = weak_odr alias i32* @v1
@v3 = weak_odr alias i32* @v1

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

Reply via email to