[Bug ada/101575] [gcc-11, -gdwarf-4] Missing .file <n> directive causes invalid line info
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 24 12:24:17 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> one minor remark, while working on a patch, I became aware,
> that probably the same will happen when using -gdwarf-5
> with old binutils, since we have this code in dwarf2out.c:
People should stick to the default -g, we cannot realistically support multiple
combinations of compiler versions, binutils versions and DWARF versions.
More information about the Gcc-bugs
mailing list