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

Jan Beulich jbeulich@suse.com
Tue Jun 23 12:55:06 GMT 2026


On 23.06.2026 14:53, Jan Beulich wrote:
> On 23.06.2026 14:47, Mark Zhuang wrote:
>> From: Mark Zhuang <mark.zhuang@spacemit.com>
>>
>> GCC 8.5.0 rejects a declaration right after a case label.
>> Add braces to fix it.
>> ---
>>  gas/config/tc-riscv.c | 54 +++++++++++++++++++++++--------------------
>>  opcodes/riscv-dis.c   | 16 ++++++++-----
>>  2 files changed, 39 insertions(+), 31 deletions(-)
> 
> Thanks for making the adjustments. I'll give RISC-V maintainers until the
> end of the week to approve this.

Noticing only now: To catch their attention, it helps greatly if you actually
Cc them on patch submissions. I've added the missing Cc-s here.

Jan


More information about the Binutils mailing list