RISC-V 64 NCG: Fix switch jump tables and non-local jumps (#25738)
Fixes: #25738
The issue is analog to AArch64:
- Ticket: #25733 (closed)
- MR: !13921 (closed)
I've dropped the idea to rewrite the reproducer in Haskell (!13921 (comment 611655)): The GHC constant folding is just too good to keep this simple.
Edited by Sven Tennie