Yes, this is an extremely minor optimization that is fairly unsafe and probably shouldn't be done.

... What is a "minor optimization"? What are you "optimizing"? And most important of all, if even you believe that it "probably shouldn't be done"... why are you doing it? Whatever it is that you're doing.

Since this question is implementation dependent

You asked a question that you already knew the answer to (though technically, the answer is that it is undefined in most cases, not implementation dependent). So... what exactly do you want to know? The answer is what you said: there is no answer.