[LLVMbugs] [Bug 20617] New: Invalid result with comdats
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Aug 11 11:12:52 PDT 2014
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: rafael.espindola at gmail.com
Reporter: rafael.espindola at gmail.com
CC: david.majnemer at gmail.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140811/0eea119e/attachment.html>
More information about the llvm-bugs
mailing list