<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:reg8162@runbox.com" title="reg8162@runbox.com">reg8162@runbox.com</a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - LLVM crash in CXXNameMangler::mangleType"
   href="https://llvm.org/bugs/show_bug.cgi?id=26194">bug 26194</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - LLVM crash in CXXNameMangler::mangleType"
   href="https://llvm.org/bugs/show_bug.cgi?id=26194#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - LLVM crash in CXXNameMangler::mangleType"
   href="https://llvm.org/bugs/show_bug.cgi?id=26194">bug 26194</a>
              from <span class="vcard"><a class="email" href="mailto:reg8162@runbox.com" title="reg8162@runbox.com">reg8162@runbox.com</a>
</span></b>
        <pre><span class="quote">> error: unknown type name 'atomic_flag'</span >

Have you invoked clang with "-Xclang -cl-std=CL2.0" ? If one does not specify
version 2.0 of OpenCL, clang does not recognize atomic types...

<span class="quote">> In Clang 3.9.0, crash does not appear</span >
Sadly it does. I just compiled fresh llvm+clang

clang version 3.9.0 (<a href="https://github.com/llvm-mirror/clang.git">https://github.com/llvm-mirror/clang.git</a>
8a851046bed598fd4cf3251028781191324c900c) (<a href="http://llvm.org/git/llvm.git">http://llvm.org/git/llvm.git</a>
bf54802a5ce32d55fcd5537cccd7eacb1d4e5e28) (based on LLVM 3.9.0svn)

and it's still crashing in the same place. Please try invoking with the precise
arguments i wrote in "To reproduce".. and on the attached CL file, not pocl
codebase - i've mentioned pocl for reference, but pocl doesn't currently work
with 3.8 (yet).

Thank you</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>