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

            Bug ID: 26124
           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: unassignedclangb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to