Bug 32496 - riscv "la zero,0"
Summary: riscv "la zero,0"
Status: NEW
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.43.1
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-23 16:51 UTC by Mark Wielaard
Modified: 2024-12-23 16:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2024-12-23 16:51:32 UTC
In the valgrind risc-v port there are various testcases that use la on the zero register loading 0. Which seems indeed redundant, but should it be allowed?

Error: illegal operands `la zero,0'

valgrind bug https://bugs.kde.org/show_bug.cgi?id=468575