<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 --- - Error compiling using clang/llvm tool-chain from visual studio 2015 in 64 bit mode"
   href="https://llvm.org/bugs/show_bug.cgi?id=23495">23495</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error compiling using clang/llvm tool-chain from visual studio 2015 in 64 bit mode
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>margelatu@protonmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

I get the errors below when I switch the project from 32 bit to 64 bit. The
project is a console app. Here is the output:
........
1>------ Build started: Project: ConsoleApplication3, Configuration: Debug x64
------
1>clang-cl.exe : warning : argument unused during compilation: '/ZI'
1>clang-cl.exe : warning : argument unused during compilation: '/Gm'
1>clang-cl.exe : warning : argument unused during compilation: '/GS'
1>clang-cl.exe : warning : argument unused during compilation: '/Yustdafx.h'
1>clang-cl.exe : warning : argument unused during compilation:
'/Fpx64\Debug\ConsoleApplication3.pch'
1>  PHI node entries do not match predecessors!
1>    %2 = phi i1 [ true, %lor.lhs.false13 ], [ true, %lor.end17.split ], [
false, %lor.rhs16 ]
1>  label %lor.end17.split
1>  label %entry
1>CL : fatal error : error in backend: Broken function found, compilation
aborted!
1>clang-cl.exe : error : clang frontend command failed with exit code 70 (use
-v to see invocation)
1>  clang version 3.7.0 (trunk)
1>  Target: x86_64-pc-windows-msvc
1>  Thread model: posix
1>  clang-cl.exe: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
1>  clang-cl.exe: note: diagnostic msg:
1>  ********************
1>
1>  PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
1>  Preprocessed source(s) and associated run script(s) are located at:
1>  clang-cl.exe: note: diagnostic msg:
C:\Users\auser1\AppData\Local\Temp\ConsoleApplication3-e12695.cpp
1>  clang-cl.exe: note: diagnostic msg:
C:\Users\auser1\AppData\Local\Temp\ConsoleApplication3-e12695.sh
1>  clang-cl.exe: note: diagnostic msg:
1>
1>  ********************
........
I will try to attach the required files but the combined compress size is about
1.5 MB and may not work.</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>