------- Comment #8 from mjtruog at fastmail dot ca  2007-01-01 20:34 -------
Thank you for looking at this.  My mistake.

I didn't realize that when you assign a temporary to a const &, the object is
still destroyed after the assignment (and should then not be used in such a
way, since the contents is undefined).


-- 

mjtruog at fastmail dot ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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

Reply via email to