I found a PR that someone else sent to upstream to fix this at https://github.com/projectNe10/Ne10/pull/260 (I haven't tested it, though)
- Bug#987643: ne10 FTBFS with gcc 10 Adrian Bunk
- Bug#987643: ne10 FTBFS with gcc 10 Michael R. Crusoe
I found a PR that someone else sent to upstream to fix this at https://github.com/projectNe10/Ne10/pull/260 (I haven't tested it, though)