[Bug target/86387] [RISCV][ABI] GCC fails to sign/zero-ext integers as necessary for passing/returning int+fp structs on hard-float ABIs

wilson at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 3 18:29:00 GMT 2018


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

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-07-03
           Assignee|unassigned at gcc dot gnu.org      |wilson at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Jim Wilson <wilson at gcc dot gnu.org> ---
I don't see any gcc regression.  I think the psABI spec was updated without
checking gcc.  Unfortunately, fixing gcc would cause a non-backward compatible
ABI change.  Given that we fixed the ABI back in January when we upstreamed
glibc, we can't change it now without causing a lot of trouble.  Hence, the
easy solution is to fix the paABI spec to match what gcc actually emits.


More information about the Gcc-bugs mailing list