Outsmarting your optimizer is harder than that nowadays.
they do bad things, and occasionally even wrong things. and usually compiler writers blame the user, not themselves then.
Reply on news.ycombinator.com