November 04, 2023 [Issue 24226] operator `~=` appears to lead to useless bound checks | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24226 --- Comment #1 from Basile-z <b2.temp@gmx.com> --- oh, that's for size_t overflow I guess. -- |
November 09, 2023 [Issue 24226] operator `~=` appears to lead to useless bound checks | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24226 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |INVALID --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- The hook itself uses some arrays internally to access the data, as can be seen from the source code: https://github.com/dlang/dmd/blob/master/druntime/src/core/internal/array/appending.d#L89 . Those accesses are protected by array bounds check. No bug here. -- |
Copyright © 1999-2021 by the D Language Foundation