cmd/asm: riscv64 assembler does not check the shift amount input #57755
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What did you do?
compile this assembly code with GOARCH=riscv64.
What did you expect to see?
got a error
shift amount out of range 0 to 63
What did you see instead?
assemble successfully but got a illegal instruction fault in run time.
The text was updated successfully, but these errors were encountered: