[llvm-bugs] [Bug 26123] New: [ms] Regression(256730): Miscompile in 32-bit code

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 12 15:50:43 PST 2016


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

            Bug ID: 26123
           Summary: [ms] Regression(256730): Miscompile in 32-bit code
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Repro:

llvm-build\bin\clang-cl main.cc outline.cc -m32 /Fefoo.exe /O1 /Ob2 /GF /Oy-
/Oi /Os
foo

The executable crashes. Works fine without r256730, works fine in CL.

(Might be a code error, but the code is pretty short by now, and I still don't
see an error -- seems like some stack alignment thing)

Attaching main.cc and outline.cc momentarily. Not quite minimal, but fairly
small. outline.cc only exists to outline a single function, so that clang can't
optimize the program away.

-- 
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/20160112/c3fbdf8a/attachment.html>


More information about the llvm-bugs mailing list