[LLVMbugs] [Bug 9447] Adding a copy constructor that is the same as the default generates worse code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 10 14:45:11 PST 2011


Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|                            |INVALID

--- Comment #2 from Eli Friedman <sharparrow1 at yahoo.com> 2011-03-10 16:45:10 CST ---
When the class has a copy constructor (trivial or not), the x86-64 ABI requires
values of that class to be returned differently.  There is fundamentally more
stuff to do in the case where the class has a copy constructor.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list