https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34745
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |fxcoudert at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Hadn't been picked up in year, and I am not entirely sure this is a good idea: bounds checking is better inlined, avoiding the function call and where compiler heuristics for branch prediction can fully play their role (runtime_error being noreturn, it is marked as unlikely automatically).