This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/43787] [4.5/4.6 Regression] regression on copy-constructor of empty class



------- Comment #6 from navin dot kumar at gmail dot com  2010-04-19 00:22 -------
Andrew,

What about the performance bug?

empty_t x; // line1
empty_t y = x;  // line2

Line2 should not result in copying memory for empty classes.  And that was the
old behavior pre-4.5.0


-- 

navin dot kumar at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43787


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]