Anastasia added a comment. In D58346#1417983 <https://reviews.llvm.org/D58346#1417983>, @rjmccall wrote:
> In the abstract, it would be nice to warn about casts that always have UB > because the address spaces don't overlap; however, I'm worried about how > people might be using address spaces in strange ways today, knowing that they > *do* overlap, only in ways that the compiler isn't smart enough for. I think > we should just be permissive in non-OpenCL mode. Ok, I have explained this in FIXME. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58346/new/ https://reviews.llvm.org/D58346 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits