------- Comment #4 from pinskia at gcc dot gnu dot org  2006-10-07 16:55 -------
(In reply to comment #2)
> 2) The second reason is that if GCC ignores the programmer written copy
> constructors, then the program will be misbehaved, and the results
> unpredictable, with even the possibility of a crash. Optimizations are
> understandable only if they don't leave objects in unknown states.

Only one object is ever created and will ever be destoried here.  So this is
not leaving the object in an unknown state because the state is well defined.


-- 


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

Reply via email to