Re: [PATCH v3] RISC-V: Fix build with GCC-8
"Maciej W. Rozycki" <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 23 Jun 2026, Mark Zhuang wrote: > From: Mark Zhuang <[email protected]> > > 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/[email protected]/>. FWIW it broke the build with GCC 10.2.1 here (production box, system compiler). Maciej