[PATCH] Use DW_LANG_D for D

Cary Coutant ccoutant@google.com
Tue Dec 3 19:42:00 GMT 2013


> This patches gen_compile_unit_die to use the DW_LANG_D DWARF language
> code for D.  Is in relation to some other D language fixes that are
> going to be submitted to gdb.

Is this for a private front end? I'm not aware of any front ends that
set the language name to "GNU D".

Since it's so trivial, though, I have no problem with this patch for
Stage 3 -- if you do have a separate front end that sets that language
string, then it's arguably a bug fix. If this patch is preparation for
more substantial changes to the GCC tree, however, I suspect you're
going to need to wait for Stage 1 to reopen anyway.

So, if this is a standalone patch, it's OK, but you also need a ChangeLog entry.

-cary



More information about the Gcc-patches mailing list