From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-05-12 03:50:29


Peter Dimov wrote:
> Apparently, g++ 4.0.0 with -O3 manages to optimize out one of the
> shared_ptr instances in the example below: ...

Reported as

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