http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51823
Jakob van Bethlehem <jakobsybren at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #26299|0 |1 is obsolete| | --- Comment #2 from Jakob van Bethlehem <jakobsybren at gmail dot com> 2012-01-11 13:40:18 UTC --- Created attachment 26300 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26300 Minimal example that reproduces bug, but with proper call-signature for operator*() (ie: returning reference) Minimal example was changed with proper call-signature for operator*(), returning reference. The resulting behavior remains the same as explained in the original message though.