This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/57238] GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]