------- Additional Comments From philippe dot haution at mines-paris dot org 2004-11-02 15:58 ------- Well OK, I'll check with purify that res3 and res4 memory area is released whether or not res5 has been intialized.
I will from now on use vector<int>& res5 = *(ert().release()); as the correct way to get a reference to an object returned wrapped into an auto_ptr. Regards. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18272