[v2,0/1] RISC-V: Fix build with GCC-8

Message ID 20260623124758.2412307-1-zhuangqiubin@linux.spacemit.com
Headers
Series RISC-V: Fix build with GCC-8 |

Message

Mark Zhuang June 23, 2026, 12:47 p.m. UTC
  From: Mark Zhuang <mark.zhuang@spacemit.com>

Thanks, Jan — indeed, this makes the code much more readable.

Changes in v2:
- move the decls to inner case block

Mark Zhuang (1):
  RISC-V: Fix build with GCC-8

 gas/config/tc-riscv.c | 54 +++++++++++++++++++++++--------------------
 opcodes/riscv-dis.c   | 16 ++++++++-----
 2 files changed, 39 insertions(+), 31 deletions(-)