<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 --- - Regression(263110:263111): TestCases/Float/cast-overflow.cpp started failing on the Windows bot"
href="https://llvm.org/bugs/show_bug.cgi?id=26919">26919</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression(263110:263111): TestCases/Float/cast-overflow.cpp started failing on the Windows bot
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>nicolasweber@gmx.de
</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><a href="http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/10500">http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/10500</a>
Script:
--
D:/buildslave/clang-x64-ninja-win7/stage1/./bin/clang.exe
-fsanitize=float-cast-overflow
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
-o
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
_
env UBSAN_OPTIONS=print_summary=1:report_error_type=1
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
0 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-0
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
1 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-1
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
2 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-2
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
3 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-3
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
4 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-4
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
5 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-5
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
6 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-6
not
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp
9 2>&1 | FileCheck
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp
--check-prefix=CHECK-9
--
Exit Code: 1
Command Output (stdout):
--
Command 0: "D:/buildslave/clang-x64-ninja-win7/stage1/./bin/clang.exe"
"-fsanitize=float-cast-overflow"
"D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp"
"-o"
"D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp"
Command 0 Result: 0
Command 0 Output:
Creating library
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.lib
and object
D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.exp
Command 0 Stderr:
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:45:3:
warning: expression result unused [-Wunused-value]
(int)MaxFloatRepresentableAsInt; // ok
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:46:3:
warning: expression result unused [-Wunused-value]
(int)-MaxFloatRepresentableAsInt; // ok
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:49:3:
warning: expression result unused [-Wunused-value]
(int)MinFloatRepresentableAsInt; // ok
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:52:3:
warning: expression result unused [-Wunused-value]
(unsigned int)MaxFloatRepresentableAsUInt; // ok
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
Command 1:
"D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp"
"_"
Command 1 Result: 0
Command 1 Output:
Command 1 Stderr:
Command 2:
"D:\buildslave\clang-x64-ninja-win7\stage1\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Float\Output\cast-overflow.cpp.tmp"
"0"
Command 2 Result: 0
Command 2 Output:
Command 2 Stderr:
Command 3: "FileCheck"
"D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp"
"--check-prefix=CHECK-0"
Command 3 Result: 1
Command 3 Output:
Command 3 Stderr:
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:89:14:
error: expected string not found in input
// CHECK-0: {{.*}}cast-overflow.cpp:[[@LINE+1]]:27: runtime error: value
2.14748{{.*}} is outside the range of representable values of type 'int'
^
<stdin>:1:1: note: scanning from here
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:90:27:
runtime error: value 0 is outside the range of representable values of type
'int'
^
<stdin>:1:1: note: with expression "@LINE+1" equal to "90"
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:90:27:
runtime error: value 0 is outside the range of representable values of type
'int'
^
<stdin>:1:85: note: possible intended match here
D:\buildslave\clang-x64-ninja-win7\llvm\projects\compiler-rt\test\ubsan\TestCases\Float\cast-overflow.cpp:90:27:
runtime error: value 0 is outside the range of representable values of type
'int'
^</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>