<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - LLVM failed to run 'Clang :: SemaOpenCLCXX/address-space-deduction.cl' test on both x86|debug and x86|release configuration on windows with MSVC."
   href="https://bugs.llvm.org/show_bug.cgi?id=42628">42628</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLVM failed to run 'Clang :: SemaOpenCLCXX/address-space-deduction.cl' test on both x86|debug and x86|release configuration on windows with MSVC.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>1998zhangyi@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22246" name="attach_22246" title="log_x86_test">attachment 22246</a> <a href="attachment.cgi?id=22246&action=edit" title="log_x86_test">[details]</a></span>
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 <a href="https://github.com/llvm-mirror/llvm">https://github.com/llvm-mirror/llvm</a>
D:\llvm\src\     
2 git clone -c core.autocrlf=false <a href="https://github.com/llvm-mirror/clang">https://github.com/llvm-mirror/clang</a>
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]</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>