[llvm-bugs] [Bug 42628] New: LLVM failed to run 'Clang :: SemaOpenCLCXX/address-space-deduction.cl' test on both x86|debug and x86|release configuration on windows with MSVC.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 16 02:04:18 PDT 2019


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

            Bug ID: 42628
           Summary: LLVM failed to run 'Clang ::
                    SemaOpenCLCXX/address-space-deduction.cl' test on both
                    x86|debug and x86|release configuration on windows
                    with MSVC.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: 1998zhangyi at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 22246
  --> https://bugs.llvm.org/attachment.cgi?id=22246&action=edit
log_x86_test

LLVM failed to run 'Clang :: SemaOpenCLCXX/address-space-deduction.cl' test on
both x86|debug and x86|release configuration on windows with MSVC. It can be
first reproduced on 8f781eb reversion on clang master branch. Could you please
have a look at this issue? Thanks a lot!

Repro steps:
1 git clone -c core.autocrlf=false https://github.com/llvm-mirror/llvm
D:\llvm\src\     
2 git clone -c core.autocrlf=false https://github.com/llvm-mirror/clang
D:\llvm\src\tools\clang
3 open a VS 2017 x86 command prompt and browse to D:\llvm
4 mkdir build_x86 && pushd build_x86
5 cmake -G "Visual Studio 15 2017" -DCMAKE_SYSTEM_VERSION=10.0.17134.0 ..\src\
6 msbuild /maxcpucount:4 /p:Platform=Win32 /p:Configuration=RelWithDebInfo
build_x86\ALL_BUILD.vcxproj /t:Rebuild
7. python.exe ./src/utils/lit/lit.py -v --no-progress-bar --param
build_mode=RelWithDebInfo --param
clang_site_config=./build_x86/tools/clang/test/lit.site.cfg
./build_x86/tools/clang/test -j 4

Failures:
FAIL: Clang :: SemaOpenCLCXX/address-space-deduction.cl (10745 of 11079)
******************** TEST 'Clang :: SemaOpenCLCXX/address-space-deduction.cl'
FAILED ********************
Script:
--
: 'RUN: at line 1';   d:\llvm\build_x86\relwithdebinfo\bin\clang.exe -cc1
-internal-isystem d:\llvm\build_x86\relwithdebinfo\lib\clang\9.0.0\include
-nostdsysteminc
D:\LLVM\src\tools\clang\test\SemaOpenCLCXX\address-space-deduction.cl
-cl-std=c++ -pedantic -ast-dump -verify |
d:\llvm\build_x86\relwithdebinfo\bin\filecheck.exe
D:\LLVM\src\tools\clang\test\SemaOpenCLCXX\address-space-deduction.cl
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "d:\llvm\build_x86\relwithdebinfo\bin\clang.exe" "-cc1" "-internal-isystem"
"d:\llvm\build_x86\relwithdebinfo\lib\clang\9.0.0\include" "-nostdsysteminc"
"D:\LLVM\src\tools\clang\test\SemaOpenCLCXX\address-space-deduction.cl"
"-cl-std=c++" "-pedantic" "-ast-dump" "-verify"
$ "d:\llvm\build_x86\relwithdebinfo\bin\filecheck.exe"
"D:\LLVM\src\tools\clang\test\SemaOpenCLCXX\address-space-deduction.cl"
# command stderr:
D:\LLVM\src\tools\clang\test\SemaOpenCLCXX\address-space-deduction.cl:33:10:
error: CHECK: expected string not found in input

//CHECK: -CXXMethodDecl {{.*}} operator= 'x1<T> &(const x1<T> &) __generic'

         ^

<stdin>:102:1: note: scanning from here

| `-PointerType 0x5df6880 '__generic c1 *'

^

<stdin>:132:41: note: possible intended match here

| | |-CXXMethodDecl 0x5e1d8e8 <line:35:3, line:38:3> line:35:10 operator=
'x1<T> &(const x1<T> &) __attribute__((thiscall)) __generic'

                                        ^


error: command failed with exit status: 1

--

********************

1 warning(s) in tests.
Testing Time: 867.21s
********************
Failing Tests (1):
    Clang :: SemaOpenCLCXX/address-space-deduction.cl

  Expected Passes    : 10854
  Expected Failures  : 25
  Unsupported Tests  : 199
  Unexpected Failures: 1
[command took 874 seconds]

-- 
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/20190716/5aaa6630/attachment.html>


More information about the llvm-bugs mailing list