<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - TestCases/Integer/negate-overflow.cpp fails on Windows"
href="https://llvm.org/bugs/show_bug.cgi?id=28594">28594</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>TestCases/Integer/negate-overflow.cpp fails on Windows
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>balarishi.bhogadi@amd.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>