https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119730
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I should mention why, x0 is assigned to the x0 register but x0 is also used for arguments and both just happen to contain zero.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 11 Apr 2025 08:52:24 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119730
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I should mention why, x0 is assigned to the x0 register but x0 is also used for arguments and both just happen to contain zero.