[llvm-bugs] [Bug 28594] New: TestCases/Integer/negate-overflow.cpp fails on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 17 23:25:27 PDT 2016


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

            Bug ID: 28594
           Summary: TestCases/Integer/negate-overflow.cpp fails on Windows
           Product: compiler-rt
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: balarishi.bhogadi at amd.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

On Windows, TestCases/Integer/negate-overflow.cpp fails on and make check-all
is aborted.

The below is the snip from log.
========================================
  Running all regression tests
  -- Testing: 26802 tests, 32 threads --
  FAIL: UBSan-Standalone-x86_64 :: TestCases/Integer/negate-overflow.cpp (26713
of 26802)
  ******************** TEST 'UBSan-Standalone-x86_64 ::
TestCases/Integer/negate-overflow.cpp' FAILED ********************
  Script:
  --
 
C:/LLVM-workspace/workspace/CPUPC_Win_Mirror_Build/BUILD_4/Release/bin/clang.exe
 -fsanitize=signed-integer-overflow
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp
-o
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp1
&& 
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp1
2>&1 | FileCheck
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp
--check-prefix=CHECKS
 
C:/LLVM-workspace/workspace/CPUPC_Win_Mirror_Build/BUILD_4/Release/bin/clang.exe
 -fsanitize=unsigned-integer-overflow
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp
-o
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp2
&& 
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp2
2>&1 | FileCheck
C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp
--check-prefix=CHECKU
  --
  Exit Code: 2147483648

========================================

Exit code on Linux is 0 and it's passing.

-- 
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/20160718/d84f6cc6/attachment.html>


More information about the llvm-bugs mailing list