------- Comment #12 from navin dot kumar at gmail dot com 2010-04-20 00:51 ------- (In reply to comment #11) > It seems okay - at -O3 gcc 4.5.0 is correctly avoiding the memory copy. This > used to happen at the default optimization for gcc 4.4.2, but that's fine. > I'm > closing the bug. >
Sorry, I take that back, even at -O3 gcc4.5.0 is still memory copying. -- navin dot kumar at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43787