https://llvm.org/bugs/show_bug.cgi?id=26194
reg8...@runbox.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #3 from reg8...@runbox.com --- > error: unknown type name 'atomic_flag' 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... > In Clang 3.9.0, crash does not appear Sadly it does. I just compiled fresh llvm+clang clang version 3.9.0 (https://github.com/llvm-mirror/clang.git 8a851046bed598fd4cf3251028781191324c900c) (http://llvm.org/git/llvm.git 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 -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs