http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238
--- Comment #3 from Paul Pluzhnikov <ppluzhnikov at google dot com> --- (In reply to Andrew Pinski from comment #2) > I don't see how this is wrong. It's wrong to emit dwarf2 because I asked for dwarf4 explicitly. > Mixing dwarf4 and dwarf2 should be ok. Ok for what? One of the reasons I ask for dwarf4 is to save on repeated DW_AT_comp_dir strings (which could be quite long). Currently, I do get them merged for all .c and .cc compoilation units, but not for any .s units. That seems broken to me.