This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61082] [x86-64 Itanium ABI] g++ uses wrong return location for class with head padding
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 May 2014 17:29:50 +0000
- Subject: [Bug c++/61082] [x86-64 Itanium ABI] g++ uses wrong return location for class with head padding
- Auto-submitted: auto-generated
- References: <bug-61082-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61082
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to David Greene from comment #10)
>
> So Y should be classified as INTEGER and returned in (RAX, RDX).
That is correct and Y is classified as INTEGER with 2 fields:
NO_CLASS, INTEGER. The question is how NO_CLASS should be handled.