[clang] [SYCL] Disable RTTI for SYCL device code (PR #68020)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 08:57:53 PDT 2023


================

----------------
elizabethandrews wrote:

Without the diagnostic we have downstream, this change causes a seg fault when using dynamic_cast in kernel code. It passes without error without this change (although technically it shouldn't be allowed). 

I'm marking this PR as draft till I can work on upstreaming the diagnostic we have downstream as well. 

https://github.com/llvm/llvm-project/pull/68020


More information about the cfe-commits mailing list