http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51733
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-02 14:11:03 UTC --- (Mixed up the test cases. The PR mentioned in comment 1 is the same as in comment 0 - and a good test case. I mixed it up with PR 46262 comment 3, which is a longer example which also requires allocation on assignment.)