[Bug target/113715] RISC-V: If the Zcmp is enabled, the a0 register operates abnormally when the program returns
fanghuaqi at vip dot qq.com
gcc-bugzilla@gcc.gnu.org
Tue Feb 6 03:16:13 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113715
Huaqi <fanghuaqi at vip dot qq.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fanghuaqi at vip dot qq.com
--- Comment #1 from Huaqi <fanghuaqi at vip dot qq.com> ---
I tried to revert this commit
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b27d323a368033f0b37e93c57a57a35fd9997864
Then the wrong generated cm.popretz is removed, and it now works as expected,
could somebody check whether there is a better solution to this patch.
Thanks
More information about the Gcc-bugs
mailing list