std.mem.indexOfSentinel()
vectorized path violates pointer aliasing rules
#23184
Labels
bug
Observed behavior contradicts documented or intended behavior
standard library
This issue involves writing Zig code for the standard library.
Milestone
zig/lib/std/mem.zig
Lines 1097 to 1142 in 8e0a4ca
I think this is pretty clearly a violation of LLVM's pointer aliasing rules. LLVM could break this code whenever and would be fully justified in doing so.
The text was updated successfully, but these errors were encountered: