http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699
--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-10-08 12:12:34 UTC --- The problem seems to be the only folding of OBJ_TYPE_REF we do and which comes from a (copy) constructor. So I assume this is the same issue as PR 45934.