https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90441
--- Comment #3 from krux ---
Finally tried qemu+gdb on the original code:
gdb-8.2.1/gdb/dwarf2read.c:9715: internal-error: void
dw2_add_symbol_to_list(symbol*, pending**): Assertion `(*listhead) == NULL ||
(SYMBOL_LANGUAGE ((*listhead)->symbol[0]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90441
--- Comment #2 from krux ---
By the way, with 8.3 there is no DWARF error, but nm -l does not show any file
location for _VectorsFlash either.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90441
--- Comment #1 from krux ---
Created attachment 46343
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46343&action=edit
llvm-dwarfdump --verify output
FWIW llvm-dwarfdump --verify shows the same errors for both versions, but for
gcc-9 it ca