http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48211
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-20 16:55:55 UTC --- The bug reporting guidelines request that you don't upload an archive of files. The contained source file is: #include <list> #include <memory> #include <sstream> struct stmt_base; template <typename _RawType> struct sptr : public std::unique_ptr<_RawType> { typedef std::unique_ptr<_RawType> base_type; typedef typename base_type::pointer pointer; typedef typename base_type::deleter_type deleter_type; sptr() = default; }; struct block { std::list<sptr<stmt_base const>> _stmts; }; struct stmt_base {}; struct branch : public stmt_base { branch(sptr<stmt_base const> c); sptr<stmt_base const> const alternative; }; I can't reproduce the crash on x86_64-linux