[PATCH v3] RISC-V: Fix build with GCC-8

Maciej W. Rozycki macro@orcam.me.uk
Thu Jun 25 21:43:56 GMT 2026


On Tue, 23 Jun 2026, 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.

 I think it would be more useful to the reader if the commit referred to 
the relevant C language standard and minimum compiler version as given by 
Andreas: <https://inbox.sourceware.org/binutils/mvmtsqtzgve.fsf@suse.de/>.

 FWIW it broke the build with GCC 10.2.1 here (production box, system
compiler).

  Maciej


More information about the Binutils mailing list