https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114215
--- Comment #6 from cqwrteur <unlvsur at live dot com> --- (In reply to Andrew Pinski from comment #5) > Still waiting on a full application rather then small benchmark type > sources. The heurstic here is that if you call operator[] multiple times, it > might be better not to inline it for size reasons. I know. but here the function is too small to the point it is always better to inline it. Because all it does is an efficient bounds checking. You do not want bounds checking to be a function call.