[llvm-bugs] [Bug 26919] New: Regression(263110:263111): TestCases/Float/cast-overflow.cpp started failing on the Windows bot

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 11 16:20:10 PST 2016


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

            Bug ID: 26919
           Summary: Regression(263110:263111):
                    TestCases/Float/cast-overflow.cpp started failing on
                    the Windows bot
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/10500



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'

                                                                               
    ^

-- 
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/20160312/837ab756/attachment-0001.html>


More information about the llvm-bugs mailing list