[Bug target/88529] G++ clears the return register on x86_64 when returning an empty class

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 5 22:35:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88529

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 45899
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45899&action=edit
Fix

Here's a fix.  I'm not sure if it's suitable for GCC 9 or 10.


More information about the Gcc-bugs mailing list