[llvm-bugs] [Bug 35503] New: Bug in union member handling in TBAA

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 1 14:39:17 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35503

            Bug ID: 35503
           Summary: Bug in union member handling in TBAA
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: aheejin at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19510
  --> https://bugs.llvm.org/attachment.cgi?id=19510&action=edit
test case failing

After r319413 (https://reviews.llvm.org/rC319413) (Diff revision:
https://reviews.llvm.org/D39455), the attached test case fails. Apparently
foo() function should return 1, but after this patch it doesn't load the memory
and just returns 0.

The attached test case is from gcc torture tests.

@kosarev

-- 
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/20171201/01800d95/attachment.html>


More information about the llvm-bugs mailing list