http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55713



--- Comment #2 from Johannes Schaub <schaub.johannes at googlemail dot com> 
2012-12-16 17:52:14 UTC ---

(In reply to comment #1)

> This was done for an optimization. And I think it is allowed by the C++

> standard too.



>From the feedback I received from Stackoverflow (

http://stackoverflow.com/q/13902910/34509 ) I assumed that this behavior is not

permissible. There also appear to be ways to make it not behave that way (see

LLVM libc++'s implementation).

Reply via email to