[llvm-bugs] [Bug 26194] LLVM crash in CXXNameMangler::mangleType
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 20 04:36:20 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26194
Igor Chesnokov <ichesnokov at accesssoftek.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Igor Chesnokov <ichesnokov at accesssoftek.com> ---
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.
--
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/20160120/208bc5e5/attachment.html>
More information about the llvm-bugs
mailing list