<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ichesnokov@accesssoftek.com" title="Igor Chesnokov <ichesnokov@accesssoftek.com>"> <span class="fn">Igor Chesnokov</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - 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>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LLVM crash in CXXNameMangler::mangleType"
   href="https://llvm.org/bugs/show_bug.cgi?id=26194#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - 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:ichesnokov@accesssoftek.com" title="Igor Chesnokov <ichesnokov@accesssoftek.com>"> <span class="fn">Igor Chesnokov</span></a>
</span></b>
        <pre>In Clang 3.9.0, crash does not appear. Instead of this it reports bunch of
errors:

In file included from /home/devel/a/0/pocl/lib/kernel/svm_atomics.cl:1:
In file included from <built-in>:328:
In file included from <command line>:13:
In file included from /home/devel/a/0/pocl/include/_kernel.h:33:
In file included from /home/devel/a/0/pocl/include/_kernel_c.h:34:
/home/devel/a/0/pocl/include/pocl_types.h:46:27: error: typedef redefinition
with different types ('unsigned long' vs 'unsigned int')
typedef long unsigned int size_t;
                          ^
In file included from /home/devel/a/0/pocl/lib/kernel/svm_atomics.cl:1:
In file included from <built-in>:328:
In file included from <command line>:13:
/home/devel/a/0/pocl/include/_kernel.h:201:1: error: static_assert failed
"ptrdiff_t"
_Static_assert(sizeof(ptrdiff_t) == sizeof(void*), "ptrdiff_t");
^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/devel/a/0/pocl/include/_kernel.h:202:1: error: static_assert failed
"intptr_t"
_Static_assert(sizeof(intptr_t) == sizeof(void*), "intptr_t");
^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/devel/a/0/pocl/include/_kernel.h:2263:81: error: unknown type name
'atomic_flag'
/home/devel/a/0/pocl/include/_kernel.h:2263:192: error: unknown type name
'atomic_flag'
/home/devel/a/0/pocl/include/_kernel.h:2263:323: error: unknown type name
'atomic_flag'
/home/devel/a/0/pocl/include/_kernel.h:2263:458: error: unknown type name
'atomic_flag'
/home/devel/a/0/pocl/include/_kernel.h:2263:562: error: unknown type name
'atomic_flag'
/home/devel/a/0/pocl/include/_kernel.h:2263:686: error: unknown type name
'atomic_flag'
/home/devel/a/0/pocl/include/_kernel.h:2263:816: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:926: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1056: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1196: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1294: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1390: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1506: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1637: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1749: error: unknown type name
'atomic_int'
/home/devel/a/0/pocl/include/_kernel.h:2263:1881: error: unknown type name
'atomic_int'
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.</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>